CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   InterFoam and conjugate heat transfer (https://www.cfd-online.com/Forums/openfoam-programming-development/228806-interfoam-conjugate-heat-transfer.html)

jayson July 15, 2020 21:07

InterFoam and conjugate heat transfer
 
Good morning
I want to simulate the subcooled flow boiling. So, I add TEqn and phasechange model to interFoam. I add solid region to intetFoam which have TEqn and phase change model. I compile the solver successfully. I make the case file for subcooled flow boiling. But I have a problem to set the boundary condition for interface solid and fluid.



-> FOAM FATAL ERROR: lookup of turbulenceModel from objectRegistry fluid successful but it is not a turbulenceModel, it is a laminar From function objectRegistry::lookupObject<Type>(const word&) const in file /home/2phase/OpenFOAM/OpenFOAM-2.2.0/src/OpenFOAM/lnInclude/objectRegistryTemplates.C at line 119.FOAM aborting#0 Foam::error::printStack(Foam::Ostream&) at ??:?#1 Foam::error::abort() at ??:?#2 Foam::compressible::turbulenceModel const& Foam::objectRegistry::lookupObject<Foam::compressi ble::turbulenceModel>(Foam::word const&) const at ??:?#3 Foam::temperatureCoupledBase::kappa(Foam::Field<do uble> const&) const at ??:?#4 Foam::compressible::turbulentTemperatureCoupledBaf fleMixedFvPatchScalarField::updateCoeffs() at ??:?#5 Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::GeometricBoundaryField::updateCoef fs() at ??:?#6 Foam::fvMatrix<double>::fvMatrix(Foam::GeometricFi eld<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::dimensionSet const&) at ??:?#7 Foam::fv::gaussLaplacianScheme<double, double>::fvmLaplacianUncorrected(Foam::GeometricFi eld<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) at ??:?#8 Foam::fv::gaussLaplacianScheme<double, double>::fvmLaplacian(Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) at ??:?#9 Foam::fv::laplacianScheme<double, double>::fvmLaplacian(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) at ??:?#10 Foam::tmp<Foam::fvMatrix<double> > Foam::fvm::laplacian<double, double>(Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::word const&) at ??:?#11 at ??:?#12 __libc_start_main in "/lib64/libc.so.6"#13 at ??:?Aborted (core dumped)

I set the turbulenceProperties for laminar



simulationType laminar;



I set the type compressible::turbulentTemperatureCoupledBaffleMix ed; for the T boundary


but my solver use incompressible turbulent model. is it problem??

How can I solve it??:confused::confused:


All times are GMT -4. The time now is 19:17.