CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

"--> FOAM FATAL ERROR:" by post processing by rhoPimpleFoam

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   August 13, 2023, 07:34
Default "--> FOAM FATAL ERROR:" by post processing by rhoPimpleFoam
New Member
Join Date: Jun 2023
Location: Hannover
Posts: 7
Rep Power: 2
elbatawy is on a distinguished road
- I have created source codes to compile and use the lib in the post processing. I am using OpenFOAM-v1612+

- After investigations the error appearing by reaching this part of the code, where `Ru1` is volTensorField

volTensorField Ru1( IOobject("Ru1", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::AUTO_WRITE), mesh, dimensionedTensor("zero", dimensionSet(1, -1, -3, 0, 0), tensor::zero));
volVectorField divRu1 = fvc::div(Ru1);
- By using `rhoPimpleFoam` in post processing , i am getting always the below error , when i am using the `fvc::div()` function for volTensorField or volVectorField :
--> FOAM FATAL ERROR: request for surfaceScalarField default from objectRegistry region0 failed available objects of type surfaceScalarField are
3 ( phi_0_0 phi phi_0 )
From function const Type& Foam:bjectRegistry::lookupObject(const Foam::word&, bool) const [with Type = Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh>] in file /home/buzz2/pawan/OpenFOAM/OpenFOAM-v1612+/src/OpenFOAM/lnInclude/objectRegistryTemplates.C at line 219. FOAM aborting #0 Foam::error:rintStack(Foam::Ostream&) in "/opt/OpenFOAM/OpenFOAM-v1612+/platforms/linux64GccDPInt32Opt/lib/" #1 Foam::error::abort() in "/opt/OpenFOAM/OpenFOAM-v1612+/platforms/linux64GccDPInt32Opt/lib/" #2 Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const& Foam:bjectRegistry::lookupObject<Foam::Geometric Field<double, Foam::fvsPatchField, Foam::surfaceMesh> >(Foam::word const&, bool) const in "/opt/OpenFOAM/OpenFOAM-v1612+/platforms/linux64GccDPInt32Opt/lib/" #3 Foam::surfaceInterpolationScheme<Foam::Vector<doub le> >::addMeshConstructorToTable<Foam::linearUpwind<Fo am::Vector<double> > >::New(Foam::fvMesh const&, Foam::Istream&) in "/opt/OpenFOAM/OpenFOAM-v1612+/platforms/linux64GccDPInt32Opt/lib/" #4 Foam::surfaceInterpolationScheme<Foam::Vector<doub le> >::New(Foam::fvMesh const&, Foam::Istream&) in "/opt/OpenFOAM/OpenFOAM-v1612+/platforms/linux64GccDPInt32Opt/lib/" #5 Foam::fv::divScheme<Foam::Vector<double> >::addIstreamConstructorToTable<Foam::fv::gaussDiv Scheme<Foam::Vector<double> > >::New(Foam::fvMesh const&, Foam::Istream&) in "/opt/OpenFOAM/OpenFOAM-v1612+/platforms/linux64GccDPInt32Opt/lib/" #6 Foam::fv::divScheme<Foam::Vector<double> >::New(Foam::fvMesh const&, Foam::Istream&) in "/opt/OpenFOAM/OpenFOAM-v1612+/platforms/linux64GccDPInt32Opt/lib/" #7 Foam::tmp<Foam::GeometricField<Foam::innerProduct< Foam::Vector<double>, Foam::Vector<double> >::type, Foam::fvPatchField, Foam::volMesh> > Foam::fvc::div<Foam::Vector<double> >(Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&) in "/opt/OpenFOAM/OpenFOAM-v1612+/platforms/linux64GccDPInt32Opt/lib/" #8 Foam::functionObjects::TransportTerm::calc() in "/root/OpenFOAM/-v1612+/platforms/linux64GccDPInt32Opt/lib/" #9 Foam::functionObjects::fieldExpression::execute() in "/opt/OpenFOAM/OpenFOAM-v1612+/platforms/linux64GccDPInt32Opt/lib/" #10 Foam::functionObjects::timeControl::execute() in "/opt/OpenFOAM/OpenFOAM-v1612+/platforms/linux64GccDPInt32Opt/lib/" #11 Foam::functionObjectList::execute() in "/opt/OpenFOAM/OpenFOAM-v1612+/platforms/linux64GccDPInt32Opt/lib/" #12 Foam::Time::run() const in "/opt/OpenFOAM/OpenFOAM-v1612+/platforms/linux64GccDPInt32Opt/lib/" #13 ? in "/opt/OpenFOAM/OpenFOAM-v1612+/platforms/linux64GccDPInt32Opt/bin/rhoPimpleFoam" #14 __libc_start_main in "/lib64/" #15 ? in "/opt/OpenFOAM/OpenFOAM-v1612+/platforms/linux64GccDPInt32Opt/bin/rhoPimpleFoam" Aborted (core dumped)

- any suggestion or help would so appreciated.

Last edited by elbatawy; August 13, 2023 at 12:54.
elbatawy is offline   Reply With Quote


divergence, rhopimplefoam

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
[Other] mesh airfoil NACA0012 anand_30 OpenFOAM Meshing & Mesh Conversion 13 March 7, 2022 17:22
--> FOAM FATAL ERROR: Maximum number of iterations exceeded adambarfi OpenFOAM Running, Solving & CFD 35 April 27, 2016 08:55
[OpenFOAM] Take derivative of mean velocity in paraFoam hiuluom ParaView 13 April 26, 2016 06:44
[mesh manipulation] Importing Multiple Meshes thomasnwalshiii OpenFOAM Meshing & Mesh Conversion 18 December 19, 2015 18:57
decomposePar is missing a library whk1992 OpenFOAM Pre-Processing 8 March 7, 2015 07:53

All times are GMT -4. The time now is 23:25.