Using Template files in PyFoam - English

1106 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