Code Monkey home page Code Monkey logo

mqs's Introduction

Feel++ mqs

CI Build and Deploy

This is a Feel++ Template Project. It serves as a template for Feel++ projects.

Features

  • script rename.sh to rename the project

  • cmake environment

    • cpack configuration

    • ctest configuration

  • antora environment

  • github actions

  • vscode integration using container

Compile

Using Ninja

In the toplevel build directory, type

ninja

install data cases

In the toplevel build directory, type

ninja feelpp_add_testcase_cases

it will install the data in the build directory to ease the access to the application. If you modify the cases files in the source directory, simply re-run the ninja feelpp_add_testcase_cases to update the data

Get simulation Data from remote location

mkdir $HOME/feel
rsync -avz <remote simulation server>:/home/<login>/feel/hifimagnet .

First and second equation files

The first equation name is test1, in the folder mqs/src. .geo and .cfg files are stored in mqs/src/cases/test1/ To get the same simulation as implementation, type in build/src directory :

mpirun -np 1 feelpp_mqs_test1 --config-file cases/test1/test1.cfg

You can also use the parameter --gmsh.hsize 0.01 and --pc-type gasm for exemple

The first equation name is test2, in the folder mqs/src. .geo and .cfg files are stored in mqs/src/cases/test2/ To get the same simulation as implementation, type in build/src directory :

mpirun -np 1 feelpp_mqs_test2 --config-file cases/test2/test2.cfg

for the first test, and

mpirun -np 1 feelpp_mqs_test2 --config-file cases/test2/test22.cfg

for the second test.

You can also use the parameter --gmsh.hsize 0.01 and --pc-type gasm for exemple

For the coupled equation, the name is mqs-blockform, in the folder mqs/src. .geo and .cfg files are stored in mqs/src/cases/mqs-blockform/

To get a simulation (doesnt give good result for the moment), type in build/src directory :

mpirun -np 1 feelpp_mqs_mqs-blockform --config-file cases/mqs-blockform/const.cfg

Generate the documentation locally

cd docs
antora site.yml

To preview the documentation

cd docs
node-srv -p 8000 public

then point your browser to http://localhost:8000

mqs's People

Contributors

luc-ank avatar prudhomm avatar trophime avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

mqs's Issues

Problem of option mqsheat

In CFG file of heatmqs problem src/cases/mqsheat/mqsheatweak.cfg, it need to change line 15 :

  • [mqs] to [mqsheat]

Do the same for picard problem src/cases/mqsheat/mqsheatpicard.cfg.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.