- Notifications
You must be signed in to change notification settings - Fork1
alien1618/PntWrks_ftn
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
0. If you haven't compiled the code in your system, compile it by:chmod u+x mk.sh./mk.shThis step can be skipped once code is compiled.1. Inside the PntWrks directory create a folder called "sim"2. Copy a template test case from the "templates" folder and rename folder to "in" and place it inside the "sim" directory3. edit the input parameters for the simulation as needed and run the simulation by:chmod u+x run.sh ./run.sh4. To use the 2D python plotter:python3 plotpnts.py <variable 1> <variable 2> <scale val> <point size>for example:python3 pltpnts.py u phi 5 3Or to use the 2D meshed data plotter:python3 pltmsh.py <variable 1> <variable 2> <scale val> <show mesh flag>for example:python3 pltmsh.py u phi 5 03D data is best viewed by opening the generated vtk files in paraview or VisIt.5. To export the generated simulation pics to a video run script:chmod u+x genvid.sh./genvid.sh <variable name>for example:./genvid.sh phi