/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v2506 | | \\ / A nd | Website: www.openfoam.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; location "system"; object controlDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // DebugSwitches { compressible::turbulentTemperatureRadCoupledMixed 1; } application chtMultiRegionFoam; startFrom startTime; startTime 0; stopAt endTime; endTime 10; //500; deltaT 1; //writeControl adjustable; //writeInterval 0.1; writeControl timeStep; writeInterval 1; purgeWrite 0; writeFormat ascii; writePrecision 8; writeCompression off; timeFormat general; timePrecision 6; runTimeModifiable yes; //maxCo 0.6; // Maximum diffusion number //maxDi 10.0; //adjustTimeStep yes; functions { rhoCpT_solid1 { // Mandatory entries type exprField; libs (fieldFunctionObjects); region solid1; field rhoCpT_solid1; executeControl timeStep; //writeControl none; // Use expression to define internal energy //expression "rho*Cp*T"; expression "8000*450*T"; dimensions [ J ]; } vol_rhoCpT_solid1 { // Mandatory entries (unmodifiable) type volFieldValue; libs (fieldFunctionObjects); region solid1; fields (rhoCpT_solid1); operation volIntegrate; regionType all; writeFields false; } rhoCpT_solid2 { // Mandatory entries type exprField; libs (fieldFunctionObjects); region solid2; field rhoCpT_solid2; executeControl timeStep; //writeControl none; // Use expression to define internal energy //expression "rho*Cp*T"; expression "8000*450*T"; dimensions [ J ]; } vol_rhoCpT_solid2 { // Mandatory entries (unmodifiable) type volFieldValue; libs (fieldFunctionObjects); region solid2; fields (rhoCpT_solid2); operation volIntegrate; regionType all; writeFields false; } } // ************************************************************************* //