Tutorial Video Overviews
Learning to use PHASTA involves a lot of non-trivial steps, each that have a significant learning curve. Videos are a natural way to learn but we have accumulated a lot of them and this makes it daunting to start. The purpose of this page is to organize and index that knowledge and make it more enabling to self-paced learning.
Here are notes going over the contents of the different tutorial videos with the goal of helping others find tutorial videos of use to them.
See Meta for details on adding new entries.
Contents
Video Table
Video Name | Date | Software Used | Description | More Notes | Misc. Tags |
---|---|---|---|---|---|
RajDemoPrepSolvePost.mov | 2019-05-13 | viznode, convert, Chef, running PHASTA, Paraview | |||
PrepSolvePostBLandC.mp4 | 2020-04-15 | SimModeler, vglconnect | Partition a mesh via chef, Run a simulation via PHASTA, Post-process via Paraview | viznode, running PHASTA, Post proccessing | Jump to notes below. |
Raj_demo.mov | 2019-05-12 | SimModeler, vglconnect |
|
N/A | viznode, meshing |
MatLabMeshAndConvert.mov | 2019-09-09 | Matlab, StructMesh_Channel.m, runMatchedNodeElmReader.sh |
|
Jump to Notes Below | Channel, Bump, meshing |
SpanWiseAveragingPostProcessing.mov | 2020-02-11 | Matlab, Spanwise averaging Matlab scripts, PHASTA |
|
N/A | post-processing |
Video Notes
RajDemoPrepSolvePost.mov
Time Stamps
Time | Notes |
---|---|
2:14 | Convert a mesh from SimModeler |
8:00 | Partition via Chef |
18:40 | Setup Run directory |
22:40 | Execute PHASTA |
32:20 | Setup/Overview Paraview |
37:00 | Post processing/ visualization of solution via Paraview |
Notes
Partition a mesh via chef, Run a simulation via PHASTA, Post-process via Paraview
PrepSolvePostBLandC.mp4
Time Stamps
Time | Notes |
---|---|
0:00 | Intro/ environment setup |
5:00 | Construct Partitioning directory with model files |
7:10 | Create sub directory and convert Model |
9:40 | Partition method after conversion step |
13:10 | PHASTA Run directory setup |
16:30 | Running PHASTA |
20:20 | Post processing/ visualization of solution via Paraview |
Notes
Partition a mesh via chef, Run a simulation via PHASTA, Post-process via Paraview
MatLabMeshAndConvert.mov
Time Stamps
Time | Notes |
---|---|
0:00 | Begin reviewing code of the Matlab scripts |
10:30 | Run Example Script |
12:45 | Observing the files generated by Matlab |
13:40 | Discussion of using matchedNodeElmReader
|
14:50 | Running of runMatchedNodeElmReader.sh script
|
16:10 | Viewing mesh in Paraview |
Notes
Create structured meshes using Matlab script created by Riccardo and other tools.
Matlab script defines the "values" of the mesh to be generated, while matchedNodeElmReader
actually generates the mesh files themselves.
Note that matchedNodeElmReader
may also be referred to/named as streamMds
.
Result of Matlab script is 5 different files:
*.crd
|
Coordinates of each vertex |
*.class
|
Classification with respect to the geometrical model (a box in this case) |
*.cnn
|
Connectivity of each element |
*.fathers2D
|
2D grid of the fathers, Used in spanwise averaging |
*.match
|
"vertex matching flag" for periodic boundary conditions |
matchedNodeElmReader
then takes these files as input and generates two directories: outMesh
and rendered
.
The rendered
is a way to view the mesh in Paraview.
The code is run with:
mpirun -np 1 matchedNodeElmReader *.cnn *.crd *.match *.class *.fathers2D output_model.dmg outputMeshDir/
where in the tutorial matchedNodeElmReader
is located at /users/rbalin/matchedReader/build-addNfathDebug/test/matchedNodeElnReader
.
The mesh files (SCOREC Mesh, *.smb
) are then placed inside the output mesh directory.
A usage message can be shown by running the executable without any arguments.
This command can also be run with multiple MPI processes. Note that this process does "preliminary" partitioning, so the number of mpi processes used is the number of *.smd
. The nodes are stored in z, y, x major order (which is generally spanwise, wall-normal, streamwise order), so Riccardo recommends that the number of mpi processes be evenly divisible by the number of streamwise nodes such that these partitions are not divided unevenly.
Once this is done, the *.smb
and *.dmg
files are fed to Chef for further partitioning and processing.
Meta
Editing the Wiki Page
Just login to the wiki (click the login button at the top right of the page) and click the edit tab at the top of the page. Login information will be the same as your original login for jumpgate (the wiki password is not updated with your jumpgate password if you changed it)
Filling in New Entries
Video Name | Date | Software Used | Description | Misc. Tags |
---|---|---|---|---|
Should be the exact name of the video file and should have a link to the actual video. | ISO format (YYYY-MM-DD) | List of software used, including relevant scripts | Short description of what was done in the video | Place for random key words that don't fit in other categories (ie. used for using the browsers search function) |