Prediction case using MIRGE-Com
Driver and associated tools for simulating flow through the ACT-II facility in direct-connect configuration. The simulation is viscous, 2D or 3D, and supports single species, passive scalars, and full multi-species.
Initialization considers the Mach number as a function of duct area ratio and inflow stagnation conditions. The velocity and temperature are smoothed using tanh functions to match the near wall flow conditions for isothermal, noslip walls. The velocity is further modified to match the duct geometry.
The driver can be found in prediction.py. It is derived from Isolator and Y2-prediction.
The main driver is isolator.py with the problem setup in baseline being the generally accepted way to run the simulation.
Simulation data (i.e. meshes) are located in data
Numerical experiments and/or driver variations can be located in experiments, these are variations that may or may not derive from the current driver in baseline, although they generally have common ancestery.
The driver/data used to create the timing data is located in timing_runs, and is a smaller version of the full baseline run.
Nightly CI is performed using the directory smoke_test
./buildMirge.sh
Will checkout and build a local copy of emirge, complete with all the needed subpackages. A new conda environemnt will be created named mirgeDriver.Y3prediction.
./buildMirge.sh -h
There are several optional build parameters that are detailed further
./updateVersionInfo.sh
Save the current build state of MIRGE-Com and associated packages into platforms. Setting the environment variable MIRGE_PLATFORM will all the user to retrieve this version information when building MIRGE-Com using the buildMirge.sh script.
In the emirge directory activate the ceesd environment and install gmsh
conda activate mirgeDriver.Y3prediction
conda install gmsh
In the directory containing the case file generate the mesh
gmsh -o prediction.msh -nopopup -format msh2 ./prediction.geo -2
Additional options may be available for fine-tuning mesh generation. Most mesh directories contain a script make_mesh.sh demonstrating how to build a particular mesh version.
Activate the correct conda environment
conda activate mirgeDriver.Y3prediction
Most subdirectories contain a run.sh script that outlines how to run the problem.
The case can the be run similar to other MIRGE-Com applications. For examples see the MIRGE-Com documentation