foamSetupCHT.C File Reference

This utility sets up a multi-region case using template files for material properties, field and system files. More...

Go to the source code of this file.

Detailed Description

This utility sets up a multi-region case using template files for material properties, field and system files.

Original source file foamSetupCHT.C

The utility reads constant/materialProperties to create a regionProperties file and to create region directories containing required files within the 0, system and constant directories. The materialProperties file contains mesh region names with an associated physical region type and a material:

bottomAir { type fluid; material air; }

The case must contain a directory called templates, with e.g. the following directories and files: + 0 + fluid: p, p_rgh, U, T, k, omega, epsilon, nut, alphat + solid: p, T + system + fluid: fvSchemes, fvSolution, decomposeParDict + solid: fvSchemes, fvSolution, decomposeParDict + constant + fluid: g + solid + materials + air: radiationProperties, thermophysicalProperties, turbulenceProperties + aluminium: radiationProperties, thermophysicalProperties + ...

Definition in file foamSetupCHT.C.