All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 regionSolvers list 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 solver and a material:

bottomAir { solver 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, momentumTransport + aluminium: radiationProperties, thermophysicalProperties + ...

Definition in file foamSetupCHT.C.