Files
openfoam/tutorials/heatTransfer/chtMultiRegionTwoPhaseEulerFoam/solidQuenching2D/system/controlDict
sergio 95f7ed0342 COM: Separate htc FO from general FO and reactingEuler solvers (#1714)
The phase systems tables for multiphase solvers create conflict
between each other as they are defined in the same namespace and using
similar class names.

Therefore a special htc function object for reactingEulerSolver was
added (reactingEulerHtcModel), located under
src/phaseSystemModels/reactingEulerFoam/functionObjects/

This commit includes the following:

- Relocate solvers/reactingEulerFoam functionObjects to
  src/phaseSystemModels
- Remove links for fieldFunctionObject to multiphase libs to avoid
  conflicts
- New FO for htc for reactingEulerFoam called reactingEulerHtcModel
2020-06-03 20:58:02 +02:00

102 lines
2.4 KiB
C++

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: v1912 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
DebugSwitches
{
compressible::alphatWallBoilingWallFunction 0;
compressible::turbulentTemperatureTwoPhaseRadCoupledMixed 0;
}
application chtMultiRegionTwoPhaseEulerFoam;
startFrom startTime;
startTime 0;
stopAt endTime;
endTime 5;
deltaT 1e-6;
writeControl adjustable;
writeInterval 0.1;
purgeWrite 0;
writeFormat ascii;
writePrecision 12;
writeCompression off;
timeFormat general;
timePrecision 6;
runTimeModifiable yes;
maxCo 0.5;
// Maximum diffusion number
maxDi 10.0;
maxDeltaT 1e-3;
adjustTimeStep yes;
functions
{
htc
{
type reactingEulerHtcModel;
libs (reactingEulerFoamFunctionObjects);
region water;
field T.liquid;
writeControl outputTime;
writeInterval 1;
htcModel fixedReferenceTemperature;
patches (water_to_solid);
TRef 373;
}
htcSurfaceFieldValue
{
type surfaceFieldValue;
libs (fieldFunctionObjects);
log on;
enabled true;
writeControl outputTime;
writeInterval 1;
writeFields false;
surfaceFormat none;
writeArea false;
region water;
regionType patch;
name water_to_solid;
operation areaAverage;
fields ( reactingEulerHtcModel(T.liquid) );
}
}
// ************************************************************************* //