CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

cannot be called for a calculatedFvPatchField

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 11, 2019, 10:40
Default cannot be called for a calculatedFvPatchField
  #1
New Member
 
Russell
Join Date: Dec 2019
Posts: 1
Rep Power: 0
Jerry0213 is on a distinguished road
Hi all,
Recently i have a problem when i use the solver rhoSimpleFoam, i got the following error:
--> FOAM FATAL ERROR:
cannot be called for a calculatedFvPatchField
on patch wall of field e in file "/home/zhang/OpenFOAM/zhang-7/run/CO2/AO1/0/e"
You are probably trying to solve for a field with a default boundary condition.

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

FOAM aborting

#0 Foam::error:rintStack(Foam::Ostream&) at ??:?
#1 Foam::error::abort() at ??:?
#2 Foam::calculatedFvPatchField<double>::gradientInte rnalCoeffs() const at ??:?
#3 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 ??:?
#4 Foam::fv::gaussLaplacianScheme<double, double>::fvmLaplacian(Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) at ??:?
#5 Foam::fv::laplacianScheme<double, double>::fvmLaplacian(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) at ??:?
#6 Foam::tmp<Foam::fvMatrix<double> > Foam::fvm::laplacian<double, double>(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) in "/home/zhang/OpenFOAM/zhang-7/platforms/linux64GccDPInt32Opt/bin/rhoSimpleFoam"
#7 ? in "/home/zhang/OpenFOAM/zhang-7/platforms/linux64GccDPInt32Opt/bin/rhoSimpleFoam"
#8 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#9 ? in "/home/zhang/OpenFOAM/zhang-7/platforms/linux64GccDPInt32Opt/bin/rhoSimpleFoam"

And here is my h file:
dimensions [0 2 -2 0 0 0 0];
internalField uniform 354690;
boundaryField
{
top
{
type zeroGradient;
}
bottom
{
type zeroGradient;
}
middle
{
type zeroGradient;
}
lower
{
type zeroGradient;
}
inlet
{
type fixedValue;
value uniform 354690;
}
outlet
{
type zeroGradient;
}
frontAndBack
{
type zeroGradient;
}
}

I don't know where is wrong and how to solve it, could you tell me something about this?Thanks!
Best Regards
Jerry0213 is offline   Reply With Quote

Reply

Tags
calculatedfvpatchfield


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
reconstructPar --> fileName::stripInvalid() called for invalid fileName commandtouse adona058 OpenFOAM Bugs 34 December 8, 2022 21:27
How is the turbulence model called in openfoam? hz283 OpenFOAM 3 May 4, 2017 21:20
terminate called after throwing an instance of 'int' b614910 SU2 10 July 27, 2014 22:16
understanding how turbulence models are called romant OpenFOAM Programming & Development 0 March 21, 2012 09:22
reconstructParMesh not working with an axisymetric case francesco OpenFOAM Bugs 4 May 8, 2009 05:49


All times are GMT -4. The time now is 05:59.