mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
Correcting thermoSingleLayer.C mask field alpha to avoid heat sources where there is no film. Tunning fvSolution for alpha for twoPhasePachuka tutorial
75 lines
1.6 KiB
C++
75 lines
1.6 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
| ========= | |
|
|
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
|
|
| \\ / O peration | Version: plus |
|
|
| \\ / A nd | Web: www.OpenFOAM.com |
|
|
| \\/ M anipulation | |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
version 2.0;
|
|
format ascii;
|
|
class dictionary;
|
|
location "constant";
|
|
object surfaceFilmProperties;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
surfaceFilmModel thermoSingleLayer;
|
|
|
|
region wallFilmRegion;
|
|
|
|
active true;
|
|
|
|
thermoSingleLayerCoeffs
|
|
{
|
|
filmThermoModel liquid;
|
|
|
|
liquidCoeffs
|
|
{
|
|
useReferenceValues no;
|
|
liquid H2O;
|
|
}
|
|
|
|
filmViscosityModel liquid;
|
|
|
|
deltaWet 2e-4;
|
|
hydrophilic no;
|
|
|
|
turbulence laminar;
|
|
laminarCoeffs
|
|
{
|
|
Cf 0.005;
|
|
}
|
|
|
|
forces
|
|
(
|
|
thermocapillary
|
|
);
|
|
|
|
injectionModels
|
|
();
|
|
|
|
phaseChangeModel none;
|
|
|
|
radiationModel none;
|
|
|
|
upperSurfaceModels
|
|
{
|
|
heatTransferModel constant;
|
|
constantCoeffs
|
|
{
|
|
c0 1e-8;
|
|
}
|
|
}
|
|
|
|
lowerSurfaceModels
|
|
{
|
|
heatTransferModel constant;
|
|
constantCoeffs
|
|
{
|
|
c0 1e-8;
|
|
}
|
|
}
|
|
}
|