Week 5 Challenge- Creating a test case in OpenFOAM
AIM:
1. Create a .cpp file starting with:
#include "fvCFD.H"
int main( int argc, char *argv[] )
{
Foam::argList::noBanner();
Foam::argList args(argc, argv);
...
}
Copy the cavity problem from $FOAM_TUTORIALS/incompressible/icoFoam. Find the value assigned to: transportModel & kinematic viscosity (nu) stored in a dictionary file transportProperties.
Rename the file transportProperties to thermalProperties
- Add variable T in the dictionary and assign a value to it
- Print the value of all the constituent variables in thermalProperties file.
1. CREATION OF .cpp FILE:

The value assigned to: transportModel & kinematic viscosity (nu) stored in a dictionary file transportProperties is 0.01

, the folder is renamed as thermalproperties and saved in the run folder.

inside the thermalproperties the value T is asssigned as 200.

