-
Notifications
You must be signed in to change notification settings - Fork 4
Using FEMuS
FemusPlatform edited this page Jan 14, 2019
·
4 revisions
Here the basic usage of FEMuS is presented. Do the following preliminar steps:
- Load platform environment variables with
NumericPlatformin terminal. - Move to
$PLAT_USERS_DIR/<User>
-
femus_tutorial_run <path>guided choice of tutorial for execution in directory. If<path>is not given then tutorial is run in actual position. - Choose tutorial class (FSI/ Navier-Stokes/...) and tutorial case.
- To run tutorial please execute
femus_application_configure <Method> (opt or dbg)and thensource runTest.sh
To run all available tutorials femus_tutorial_run_all <path>.
-
femus_gencase_run_lib2D <nproc>for a 2D geometry orfemus_gencase_run_lib3D <nproc>for a 3D one. This executes the appropriate gencase application with<nproc>processes. If<nproc>is not given then 1 process is launched. - Compile your application with
make. If you want to use FEMuS source code as library usemake withlib_2d(or 3d). To generate FEMuS source library (2D and 3D) usefemus_FEMuS_compile_lib. - Execute FEMuS application
femus_FEMuS_run <nproc>. Note that<nproc>has to be the same used in step 1.