CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Boundary Conditions mismatch for alphat (https://www.cfd-online.com/Forums/openfoam-solving/218298-boundary-conditions-mismatch-alphat.html)

Raza Javed June 15, 2019 14:16

Boundary Conditions mismatch for alphat
 
Hello Everyone,


I am modelling kEpsilon Turbulence model in chtMultiRegionSimpleFoam. I included alphat in my parameters but I don't know, what boundary conditions to use for it. My boundary conditions for other parameters were working fine, but when I included alphat in my system/changeDictionaryDict, I am getting the following error:


Code:

--> FOAM FATAL ERROR:
cannot be called for a calculatedFvPatchField
    on patch inlet of field U in file "/home/openfoam/run/final_geometry_turbulent/0/fluid/U"
    You are probably trying to solve for a field with a default boundary condition.

    From function Foam::tmp<Foam::Field<Type> >  Foam::calculatedFvPatchField<Type>::gradientInternalCoeffs() const  [with Type = Foam::Vector<double>]
    in file fields/fvPatchFields/basic/calculated/calculatedFvPatchField.C at line 187.

FOAM aborting

#0  Foam::error::printStack(Foam::Ostream&)*** Reading solid mesh thermophysical properties for region hot2

    Adding to thermos

Selecting thermodynamics package
{
    type            heSolidThermo;
    mixture        pureMixture;
    transport      constIso;
    thermo          hConst;
    equationOfState rhoConst;
    specie          specie;
    energy          sensibleEnthalpy;
}

    Adding to radiations

Radiation model not active: radiationProperties not found
Selecting radiationModel none
    Adding fvOptions

Creating finite volume options from "constant/fvOptions"

Selecting finite volume options model type scalarSemiImplicitSource
    Source: heatSource
    - selecting all cells
    - selected 939 cell(s) with volume 1.4e-06
*** Reading solid mesh thermophysical properties for region hot3

    Adding to thermos

Selecting thermodynamics package
{
    type            heSolidThermo;
    mixture        pureMixture;
    transport      constIso;
    thermo          hConst;
    equationOfState rhoConst;
    specie          specie;
    energy          sensibleEnthalpy;
}

    Adding to radiations

Radiation model not active: radiationProperties not found
Selecting radiationModel none
    Adding fvOptions

Creating finite volume options from "constant/fvOptions"

Selecting finite volume options model type scalarSemiImplicitSource
    Source: heatSource
    - selecting all cells
    - selected 921 cell(s) with volume 1.4e-06
Time = 0.01


Solving for fluid region fluid
 at ??:?
#1  Foam::error::abort() at ??:?
#2  Foam::calculatedFvPatchField<Foam::Vector<double> >::gradientInternalCoeffs() const at ??:?
#3  Foam::fv::gaussLaplacianScheme<Foam::Vector<double>,  Foam::SymmTensor<double>  >::fvmLaplacianUncorrected(Foam::GeometricField<double,  Foam::fvsPatchField, Foam::surfaceMesh> const&,  Foam::GeometricField<double, Foam::fvsPatchField,  Foam::surfaceMesh> const&,  Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField,  Foam::volMesh> const&) at ??:?
#4  Foam::fv::gaussLaplacianScheme<Foam::Vector<double>,  double>::fvmLaplacian(Foam::GeometricField<double,  Foam::fvsPatchField, Foam::surfaceMesh> const&,  Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField,  Foam::volMesh> const&) at ??:?
#5  Foam::fv::laplacianScheme<Foam::Vector<double>,  double>::fvmLaplacian(Foam::GeometricField<double,  Foam::fvPatchField, Foam::volMesh> const&,  Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField,  Foam::volMesh> const&) at ??:?
#6  Foam::tmp<Foam::fvMatrix<Foam::Vector<double> > >  Foam::fvm::laplacian<Foam::Vector<double>,  double>(Foam::GeometricField<double, Foam::fvPatchField,  Foam::volMesh> const&,  Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField,  Foam::volMesh> const&, Foam::word const&) at ??:?
#7  Foam::tmp<Foam::fvMatrix<Foam::Vector<double> > >  Foam::fvm::laplacian<Foam::Vector<double>,  double>(Foam::GeometricField<double, Foam::fvPatchField,  Foam::volMesh> const&,  Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField,  Foam::volMesh> const&) at ??:?
#8  Foam::tmp<Foam::fvMatrix<Foam::Vector<double> > >  Foam::fvm::laplacian<Foam::Vector<double>,  double>(Foam::tmp<Foam::GeometricField<double,  Foam::fvPatchField, Foam::volMesh> > const&,  Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField,  Foam::volMesh> const&) at ??:?
#9  Foam::linearViscousStress<Foam::RASModel<Foam::EddyDiffusivity<Foam::ThermalDiffusivity<Foam::CompressibleTurbulenceModel<Foam::fluidThermo>  > > >  >::divDevRhoReff(Foam::GeometricField<Foam::Vector<double>,  Foam::fvPatchField, Foam::volMesh>&) const at ??:?
#10  ? at ??:?
#11  __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#12  ? at ??:?
Aborted (core dumped)

I don't know where is a mismatch between the boundary condition? OR is there something else I am not doing correctly?


Any help would be highly appreciated.


Thank you


All times are GMT -4. The time now is 00:43.