Using Template files in PyFoam - English

Play
Current Time 0:00
/
Duration Time 0:00
Remaining Time -0:00
Loaded: 0%
Progress: 0%
0:00
Fullscreen
00:00
Mute
Captions
  • captions off
  • English

3129 visits



Outline:

- PyFoam template files - Syntax of template files - Mechanism of variable substitution in template files - Python code inside template files - Calculate the coordinates for Wedge15Ma5 case - Template file to calculate the coordinates - Substitute values in the Wedge15Ma5 - Python commands to generate the blockMeshDict file - Generating the blockMeshDict file - Varying the values in the template file