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

issue with isoSurfaces sampling and cyclicAMI

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 15, 2022, 09:31
Default issue with isoSurfaces sampling and cyclicAMI
  #1
New Member
 
Ali
Join Date: May 2016
Location: Sydney, Australia
Posts: 19
Rep Power: 10
AliVali is on a distinguished road
Hi Foamers,



I am running this example

/OpenFOAM-v2006/tutorials/multiphase/compressibleInterDyMFoam/laminar/sphereDrop/


In this example, cyclicAMI boundaries are used in combination with a dyanmicMesh which uses layerAdditionRemoval. The model runs well. However, the problem is when I want to add a function to get free surface isoSurfaces.

And want to make isoSurfaces using the following function
functions
{
Surfaces
{
type surfaces;
libs ("libsampling.so");
writeControl adjustableRunTime;
writeInterval 0.001;
surfaceFormat vtk;
interpolationScheme cellPointFace;
fields
(
U
);
surfaces
(
freeSurface_near
{
type isoSurface;
isoField alpha.water;
isoValue 0.5;
interpolate true;
}

);
}

}



It sounds there is a problem with driving isoSurfaces when cyclicAMI boundaries are used.

Any suggestion would be highly appreciated.

Ali


The error message is
[1] #0 Foam::error:rintStack(Foam::Ostream&) at ??:?
[1] #1 Foam::sigSegv::sigHandler(int) at ??:?
[1] #2 ? in /lib/x86_64-linux-gnu/libpthread.so.0
[1] #3 Foam::tmp<Foam::Field<double> > Foam::PrimitivePatchInterpolation<Foam::PrimitiveP atch<Foam::SubList<Foam::face>, Foam::Field<Foam::Vector<double> > >[1] #4 Foam::cyclicAMIPointPatchField<double>::swapAddSep arated(Foam::UPstream::commsTypes, Foam::Field<double>&) const at ??:?
[1] #5 void Foam::volPointInterpolation::addSeparated<double>( Foam::GeometricField<double, Foam:ointPatchField, Foam:ointMesh>&) const at ??:?
[1] #6 void Foam::volPointInterpolation::interpolateBoundaryFi eld<double>(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::Geom>[1] #7 void Foam::volPointInterpolation::interpolate<double>(F oam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<do>[1] #8 Foam::sampledIsoSurface::getIsoFields() const at ??:?
[1] #9 Foam::sampledIsoSurface::updateGeometry() const at ??:?
[1] #10 Foam::sampledSurfaces:erformAction(unsigned int) at ??:?
[1] #11 Foam::functionObjects::timeControl::write() at ??:?
[1] #12 Foam::functionObjectList::execute() at ??:?
[1] #13 Foam::Time::run() const at ??:?
[1] #14 ? at ??:?
[1] #15 __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6
[1] #16 ? at ??:?
[AUS180:21774] *** Process received signal ***
[AUS180:21774] Signal: Segmentation fault (11)
[AUS180:21774] Signal code: (-6)
[AUS180:21774] Failing at address: 0x3e80000550e
[AUS180:21774] [ 0] /lib/x86_64-linux-gnu/libpthread.so.0(+0x14420)[0x7f673e9e1420]
[AUS180:21774] [ 1] /lib/x86_64-linux-gnu/libpthread.so.0(raise+0xcb)[0x7f673e9e12ab]
[AUS180:21774] [ 2] /lib/x86_64-linux-gnu/libpthread.so.0(+0x14420)[0x7f673e9e1420]
[AUS180:21774] [ 3] /opt/OpenFOAM/OpenFOAM-v2006/platforms/linux64Gcc63DPInt32Opt/lib/libfiniteVolume.so(_ZNK4Foam27PrimitivePatchInterp olationINS_14Primitiv>[AUS180:21774] [ 4] /opt/OpenFOAM/OpenFOAM-v2006/platforms/linux64Gcc63DPInt32Opt/lib/libmeshTools.so(_ZNK4Foam24cyclicAMIPointPatchFiel dIdE16swapAddSeparate>[AUS180:21774] [ 5] /opt/OpenFOAM/OpenFOAM-v2006/platforms/linux64Gcc63DPInt32Opt/lib/libfiniteVolume.so(_ZNK4Foam21volPointInterpolatio n12addSeparatedIdEEvR>[AUS180:21774] [ 6] /opt/OpenFOAM/OpenFOAM-v2006/platforms/linux64Gcc63DPInt32Opt/lib/libfiniteVolume.so(_ZNK4Foam21volPointInterpolatio n24interpolateBoundar>[AUS180:21774] [ 7] /opt/OpenFOAM/OpenFOAM-v2006/platforms/linux64Gcc63DPInt32Opt/lib/libfiniteVolume.so(_ZNK4Foam21volPointInterpolatio n11interpolateIdEEvRK>[AUS180:21774] [ 8] /opt/OpenFOAM/OpenFOAM-v2006/platforms/linux64Gcc63DPInt32Opt/lib/libsampling.so(_ZNK4Foam17sampledIsoSurface12getIs oFieldsEv+0xcd7)[0x7f>[AUS180:21774] [ 9] /opt/OpenFOAM/OpenFOAM-v2006/platforms/linux64Gcc63DPInt32Opt/lib/libsampling.so(_ZNK4Foam17sampledIsoSurface14updat eGeometryEv+0x4b)[0x7>
[AUS180:21774] [12] /opt/OpenFOAM/OpenFOAM-v2006/platforms/linux64Gcc63DPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam18functionObjectList7execut eEv+0x252)[0x7f673f4f>[AUS180:21774] [13] /opt/OpenFOAM/OpenFOAM-v2006/platforms/linux64Gcc63DPInt32Opt/lib/libOpenFOAM.so(_ZNK4Foam4Time3runEv+0xaf)[0x7f673f50f9ef]
[AUS180:21774] [14] compressibleInterDyMFoam[0x4451ba]
[AUS180:21774] [15] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0x7f673e7f4083]
[AUS180:21774] [16] compressibleInterDyMFoam[0x458522]
[AUS180:21774] *** End of error message ***
--------------------------------------------------------------------------
Primary job terminated normally, but 1 process returned
a non-zero exit code. Per user-direction, the job has been aborted.
--------------------------------------------------------------------------
AliVali is offline   Reply With Quote

Reply

Tags
cyclicami, isosurfaces, layeradditionremoval


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



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