Tutorial Video Overviews

From PHASTA Wiki
Revision as of 09:52, 4 September 2020 by Jopa6460 (talk | contribs) (Video Table)
Jump to: navigation, search

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.


Video Table

Video Name Date Software Used Description More Notes Misc. Tags
[1] 2020-04-15 SimModeler, vglconnect
  • Overview of using portal1/viznodes, how/when to use vglconnect etc (first ~10 minutes)
N/A viznode, meshing
Raj_demo.mov 2019-05-12 SimModeler, vglconnect
  • Overview of using portal1/viznodes, how/when to use vglconnect etc (first ~10 minutes)
  • Use of SimModeler for creating unstructured mesh of a windtunnel
N/A viznode, meshing
MatLabMeshAndConvert.mov 2019-09-09 Matlab, StructMesh_Channel.m, runMatchedNodeElmReader.sh
  • Using Riccardo's Matlab script (StructMesh_Channel.m) to create structured mesh for LES_DNS simulation
  • Converting that mesh for use with Chef using runMatchedNodeElmReader.sh
Jump to Notes Below Channel, Bump, meshing
SpanWiseAveragingPostProcessing.mov 2020-02-11 Matlab, Spanwise averaging Matlab scripts, PHASTA
  • Viewing required settings for PHASTA to create spanwise averaged statistic files
  • Using Riccardo's Matlab script to take those files and plot them
N/A post-processing

Video Notes

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)