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

request for surfaceScalarField nHatf error with twoMixingLiquidsMixingFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 15, 2022, 20:46
Default request for surfaceScalarField nHatf error with twoMixingLiquidsMixingFoam
  #1
New Member
 
Miriam
Join Date: Apr 2022
Location: Calgary, Canada
Posts: 2
Rep Power: 0
myriam656 is on a distinguished road
Hello all,

I am getting the following error with the twoLiquidMixingFoam solver, I am modelling a pipe vertical flow and it has an injection of another liquid in the middle of the pipe. I have no idea where to look for the error... it runs with interfoam but not with this solver. Any suggestions?

--> FOAM FATAL ERROR:

request for surfaceScalarField nHatf from objectRegistry region0 failed
available objects of type surfaceScalarField are

4
(
rhoPhi
ghf
rhoPhiSum
phi
)


From function const Type& Foam::objectRegistry::lookupObject(const Foam::word&) const [with Type = const Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh>]
in file /home/ubuntu/OpenFOAM/OpenFOAM-9/src/OpenFOAM/lnInclude/objectRegistryTemplates.C at line 211.

FOAM aborting

#0 Foam::error::printStack(Foam::Ostream&) at ??:?
#1 Foam::error::abort() at ??:?
#2 Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const& Foam::objectRegistry::lookupObject<Foam::Geometric Field<double, Foam::fvsPatchField, Foam::surfaceMesh> const>(Foam::word const&) const at ??:?
#3 Foam::interfaceCompressionNew::interpolate(Foam::G eometricField<double, Foam::fvPatchField, Foam::volMesh> const&) const at ??:?
#4 Foam::fv::gaussConvectionScheme<double>::flux(Foam ::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) const at ??:?
#5 ? in "/opt/openfoam9/platforms/linux64GccDPInt32Opt/bin/twoLiquidMixingFoam"
#6 ? in "/opt/openfoam9/platforms/linux64GccDPInt32Opt/bin/twoLiquidMixingFoam"
#7 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#8 ? in "/opt/openfoam9/platforms/linux64GccDPInt32Opt/bin/twoLiquidMixingFoam"
Aborted (core dumped)
myriam656 is offline   Reply With Quote

Old   March 6, 2024, 11:06
Default
  #2
New Member
 
LeiXu
Join Date: Feb 2024
Posts: 1
Rep Power: 0
hhuxulei is on a distinguished road
hello,


Have you solved this problem? I also met it when I want to use the twoLiquidMixingFoam
hhuxulei is offline   Reply With Quote

Old   September 12, 2024, 12:34
Default
  #3
New Member
 
Join Date: Aug 2024
Posts: 1
Rep Power: 0
RubixxCube is on a distinguished road
Hi,


I've also encountered this issue while using incompressibleMultiphaseVoF (OF Version 12).


I tested a bit and it seems the issue lies in the divSchemes you choose.
For my div(phi, alpha) I tried "Gauss interfaceCompression vanLeer 1" which
produced the same error.


Using standard vanLeer for my discretization did the trick.
Not sure why interfaceCompression with vanLeer won't work here.
RubixxCube is offline   Reply With Quote

Reply


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
[OpenFOAM] could not open file .vtk in paraview ali_atrian ParaView 8 August 27, 2014 11:31
[OpenFOAM] Saving ParaFoam views and case sail ParaView 9 November 25, 2011 16:46
Problem with paraFoam ata OpenFOAM 14 November 30, 2009 05:23
Installation OF1.5-dev ttdtud OpenFOAM Installation 46 May 5, 2009 03:32
[OpenFOAM] Xwindows crash with paraview save srinath ParaView 1 October 15, 2008 10:37


All times are GMT -4. The time now is 20:14.