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

Unable to run a linearmotion with InterFoam

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By abeda
  • 1 Post By CFDcultist

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 3, 2020, 22:56
Default Unable to run a linearmotion with InterFoam
  #1
New Member
 
Ali Beydoun
Join Date: Aug 2020
Posts: 2
Rep Power: 0
CFDcultist is on a distinguished road
Hello,

I am quite new to CFD and I've been having some difficulties with implementing a moving wall (linear motion) into my geometry.

I have created a cellzone and implemented an cyclicAMI constraint ( Not sure if it is correct to use it for a linear motion). Everytime I try to run my simulation, I encounter the following message:
Code:
FOAM aborting

#0  Foam::error::printStack(Foam::Ostream&)sh: 1: addr2line: not found
 addr2line failed
#1  Foam::error::abort()sh: 1: addr2line: not found
 addr2line failed
#2  void Foam::AMIInterpolation<Foam::PrimitivePatch<Foam::face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> >, Foam::PrimitivePatch<Foam::face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > >::interpolateToSource<Foam::Vector<double>, Foam::multiplyWeightedOp<Foam::Vector<double>, Foam::plusEqOp<Foam::Vector<double> > > >(Foam::UList<Foam::Vector<double> > const&, Foam::multiplyWeightedOp<Foam::Vector<double>, Foam::plusEqOp<Foam::Vector<double> > > const&, Foam::List<Foam::Vector<double> >&, Foam::UList<Foam::Vector<double> > const&) constsh: 1: addr2line: not found
 addr2line failed
#3  Foam::tmp<Foam::Field<Foam::Vector<double> > > Foam::cyclicAMIPolyPatch::interpolate<Foam::Vector<double> >(Foam::Field<Foam::Vector<double> > const&, Foam::UList<Foam::Vector<double> > const&) constsh: 1: addr2line: not found
 addr2line failed
#4  Foam::cyclicAMIFvPatchField<Foam::Vector<double> >::patchNeighbourField() constsh: 1: addr2line: not found
 addr2line failed
#5  Foam::coupledFvPatchField<Foam::Vector<double> >::evaluate(Foam::UPstream::commsTypes)sh: 1: addr2line: not found
 addr2line failed
#6  Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh>::Boundary::evaluate()sh: 1: addr2line: not found
 addr2line failed
#7  Foam::fv::gaussGrad<double>::gradf(Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::word const&)sh: 1: addr2line: not found
 addr2line failed
#8  Foam::fv::gaussGrad<double>::calcGrad(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::word const&) constsh: 1: addr2line: not found
 addr2line failed
#9  Foam::fv::gradScheme<double>::grad(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::word const&) constsh: 1: addr2line: not found
 addr2line failed
#10  Foam::tmp<Foam::GeometricField<Foam::outerProduct<Foam::Vector<double>, double>::type, Foam::fvPatchField, Foam::volMesh> > Foam::fvc::grad<double>(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::word const&)sh: 1: addr2line: not found
 addr2line failed
#11  Foam::interfaceProperties::calculateK()sh: 1: addr2line: not found
 addr2line failed
#12  Foam::interfaceProperties::interfaceProperties(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::IOdictionary const&)sh: 1: addr2line: not found
 addr2line failed
#13  Foam::immiscibleIncompressibleTwoPhaseMixture::immiscibleIncompressibleTwoPhaseMixture(Foam::GeometricField<Foam::Vector<double>, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&)sh: 1: addr2line: not found
 addr2line failed
#14  ?sh: 1: addr2line: not found
 addr2line failed
#15  __libc_start_mainsh: 1: addr2line: not found
 addr2line failed
#16  ?sh: 1: addr2line: not found
 addr2line failed
Aborted (core dumped)
I tried looking what addr2line is but couldnt figure it out.
I should note that I am using Windows/Ubuntu.

Would it be possible to help me?

Thank you!
CFDcultist is offline   Reply With Quote

Old   February 3, 2021, 08:45
Default
  #2
New Member
 
Norge
Join Date: Dec 2020
Posts: 7
Rep Power: 5
abeda is on a distinguished road
Hi,

Did you scale your problem?
I also had problems with addr2line, but it was solved when I scaled geometries by a factor of 10.

I just created a simulation using interFoam and moved my ship geometry (stl) through restricted waterways defined by stl using linearMotion by using cyclicAMI.

Ann B
CFDcultist likes this.
abeda is offline   Reply With Quote

Old   February 3, 2021, 08:47
Default
  #3
New Member
 
Ali Beydoun
Join Date: Aug 2020
Posts: 2
Rep Power: 0
CFDcultist is on a distinguished road
Yes, scaling up my geometry was the key! Thank you very much!
abeda likes this.
CFDcultist is offline   Reply With Quote

Reply

Tags
3dimensional, ami, linearmotion


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
Unable to plot residuals (Interfoam) walakaka OpenFOAM Post-Processing 12 February 9, 2022 05:38
Unable to run parallel cases with OF 2.3.x in openSUSE 12.3 zfaraday OpenFOAM Running, Solving & CFD 3 February 2, 2015 20:42
Tutorial 17: Unable to run the simulation Mazen CFX 9 April 17, 2009 20:15
[Commercial meshers] ST_Malloc: out of memory.malloc_storage: unable to malloc Velocity SA, cfdproject OpenFOAM Meshing & Mesh Conversion 0 April 14, 2009 15:45
Help I canbt run FoamX report Unable to contact name server error cornerstone OpenFOAM Installation 0 May 3, 2006 01:14


All times are GMT -4. The time now is 17:39.