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

Problem With using snappyhexmesh and getting simplefoam to work.

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 22, 2016, 07:20
Default Problem With using snappyhexmesh and getting simplefoam to work.
  #1
New Member
 
Ivan
Join Date: Mar 2016
Posts: 1
Rep Power: 0
Ivanj56 is on a distinguished road
Hello all,

Sorry if I make a mistake this is my first post!
I am seriously struggling with conducting CFD for my aircraft design for my final year project.
I have successfully used snappyhexmesh with help from the motorbike tutorial and my mesh incoroporates my aircraft.
However when using ALLRUN or doing each step separately on the command prompt the whole thing stops when SIMPLEFOAM is run.
The motorbike tutorial completes just fine.
I think it has something to do with the "wallboundedstreamline" within the system folder.
PLease HELP!
Thank you very much





Create time

Create mesh for time = 0

Reading field p

Reading field U

Reading/calculating face flux field phi

Selecting incompressible transport model Newtonian
Selecting RAS turbulence model kOmegaSST
bounding k, min: 0 max: 0.24 average: 0.24
bounding omega, min: 0 max: 1.78 average: 1.78
kOmegaSSTCoeffs
{
alphaK1 0.85;
alphaK2 1;
alphaOmega1 0.5;
alphaOmega2 0.856;
gamma1 0.555556;
gamma2 0.44;
beta1 0.075;
beta2 0.0828;
betaStar 0.09;
a1 0.31;
b1 1;
c1 10;
F3 false;
}

No finite volume options present


SIMPLE: no convergence criteria found. Calculations will run for 500 steps.


Starting time loop

streamLine streamLines:
automatic track length specified through number of sub cycles : 5

nearWallFields near: Sampling 1 fields
[1] #0 Foam::error::printStack(Foam::Ostream&)[4] #0 Foam::error::printStack(Foam::Ostream&)[5] #0 Foam::error::printStack(Foam::Ostream&)[3] #0 Foam::error::printStack(Foam::Ostream&)[0] #0 Foam::error::printStack(Foam::Ostream&) at ??:?
[1] #1 Foam::sigSegv::sigHandler(int)[2] #0 Foam::error::printStack(Foam::Ostream&) at ??:?
[4] #1 Foam::sigSegv::sigHandler(int) at ??:?
[5] #1 Foam::sigSegv::sigHandler(int) at ??:?
[3] #1 Foam::sigSegv::sigHandler(int) at ??:?
[0] #1 Foam::sigSegv::sigHandler(int) at ??:?
[1] #2 ? at ??:?
[2] #1 Foam::sigSegv::sigHandler(int) at ??:?
[4] #2 ? at ??:?
[5] #2 ? at ??:?
[3] #2 ? at ??:?
[0] #2 ? in "/lib/x86_64-linux-gnu/libc.so.6"
[1] #3 double Foam::particle::trackToFace<Foam::findCellParticle ::trackingData>(Foam::Vector<double> const&, Foam::findCellParticle::trackingData&) at ??:?
[2] #2 ? in "/lib/x86_64-linux-gnu/libc.so.6"
[4] #3 double Foam::particle::trackToFace<Foam::findCellParticle ::trackingData>(Foam::Vector<double> const&, Foam::findCellParticle::trackingData&) in "/lib/x86_64-linux-gnu/libc.so.6"
[5] #3 double Foam::particle::trackToFace<Foam::findCellParticle ::trackingData>(Foam::Vector<double> const&, Foam::findCellParticle::trackingData&) in "/lib/x86_64-linux-gnu/libc.so.6"
[3] #3 double Foam::particle::trackToFace<Foam::findCellParticle ::trackingData>(Foam::Vector<double> const&, Foam::findCellParticle::trackingData&) in "/lib/x86_64-linux-gnu/libc.so.6"
[0] #3 double Foam::particle::trackToFace<Foam::findCellParticle ::trackingData>(Foam::Vector<double> const&, Foam::findCellParticle::trackingData&) at ??:?
[1] #4 Foam::findCellParticle::move(Foam::findCellParticl e::trackingData&, double) in "/lib/x86_64-linux-gnu/libc.so.6"
[2] #3 double Foam::particle::trackToFace<Foam::findCellParticle ::trackingData>(Foam::Vector<double> const&, Foam::findCellParticle::trackingData&) at ??:?
[4] #4 Foam::findCellParticle::move(Foam::findCellParticl e::trackingData&, double) at ??:?
[5] #4 Foam::findCellParticle::move(Foam::findCellParticl e::trackingData&, double) at ??:?
[3] #4 Foam::findCellParticle::move(Foam::findCellParticl e::trackingData&, double) at ??:?
[0] #4 Foam::findCellParticle::move(Foam::findCellParticl e::trackingData&, double) at ??:?
[1] #5 void Foam::Cloud<Foam::findCellParticle>::move<Foam::fi ndCellParticle::trackingData>(Foam::findCellPartic le::trackingData&, double) at ??:?
[2] #4 Foam::findCellParticle::move(Foam::findCellParticl e::trackingData&, double) at ??:?
[5] #5 void Foam::Cloud<Foam::findCellParticle>::move<Foam::fi ndCellParticle::trackingData>(Foam::findCellPartic le::trackingData&, double) at ??:?
[4] #5 void Foam::Cloud<Foam::findCellParticle>::move<Foam::fi ndCellParticle::trackingData>(Foam::findCellPartic le::trackingData&, double) at ??:?
[3] #5 void Foam::Cloud<Foam::findCellParticle>::move<Foam::fi ndCellParticle::trackingData>(Foam::findCellPartic le::trackingData&, double) at ??:?
[0] #5 void Foam::Cloud<Foam::findCellParticle>::move<Foam::fi ndCellParticle::trackingData>(Foam::findCellPartic le::trackingData&, double) at ??:?
[1] #6 Foam::nearWallFields::calcAddressing() at ??:?
[2] #5 void Foam::Cloud<Foam::findCellParticle>::move<Foam::fi ndCellParticle::trackingData>(Foam::findCellPartic le::trackingData&, double) at ??:?
[5] #6 Foam::nearWallFields::calcAddressing() at ??:?
[4] #6 Foam::nearWallFields::calcAddressing() at ??:?
[3] #6 Foam::nearWallFields::calcAddressing() at ??:?
[0] #6 Foam::nearWallFields::calcAddressing() at ??:?
[1] #7 Foam::nearWallFields::read(Foam::dictionary const&) at ??:?
[2] #6 Foam::nearWallFields::calcAddressing() at ??:?
[5] #7 Foam::nearWallFields::read(Foam::dictionary const&) at ??:?
[4] #7 Foam::nearWallFields::read(Foam::dictionary const&) at ??:?
[3] #7 Foam::nearWallFields::read(Foam::dictionary const&) at ??:?
[0] #7 Foam::nearWallFields::read(Foam::dictionary const&) at ??:?
[1] #8 Foam::nearWallFields::nearWallFields(Foam::word const&, Foam::objectRegistry const&, Foam::dictionary const&, bool) at ??:?
[2] #7 Foam::nearWallFields::read(Foam::dictionary const&) at ??:?
at ??:?
[4] #8 Foam::nearWallFields::nearWallFields(Foam::word const&, Foam::objectRegistry const&, Foam::dictionary const&, bool)[5] #8 Foam::nearWallFields::nearWallFields(Foam::word const&, Foam::objectRegistry const&, Foam::dictionary const&, bool) at ??:?
[3] #8 Foam::nearWallFields::nearWallFields(Foam::word const&, Foam::objectRegistry const&, Foam::dictionary const&, bool) at ??:?
[0] #8 Foam::nearWallFields::nearWallFields(Foam::word const&, Foam::objectRegistry const&, Foam::dictionary const&, bool) at ??:?
[1] #9 Foam::OutputFilterFunctionObject<Foam::nearWallFie lds>::allocateFilter() at ??:?
[2] #8 Foam::nearWallFields::nearWallFields(Foam::word const&, Foam::objectRegistry const&, Foam::dictionary const&, bool) at ??:?
[5] #9 Foam::OutputFilterFunctionObject<Foam::nearWallFie lds>::allocateFilter() at ??:?
[4] #9 Foam::OutputFilterFunctionObject<Foam::nearWallFie lds>::allocateFilter() at ??:?
[3] #9 Foam::OutputFilterFunctionObject<Foam::nearWallFie lds>::allocateFilter() at ??:?
[1] #10 Foam::OutputFilterFunctionObject<Foam::nearWallFie lds>::start() at ??:?
[0] #9 Foam::OutputFilterFunctionObject<Foam::nearWallFie lds>::allocateFilter() at ??:?
[2] #9 Foam::OutputFilterFunctionObject<Foam::nearWallFie lds>::allocateFilter() at ??:?
[5] #10 Foam::OutputFilterFunctionObject<Foam::nearWallFie lds>::start() at ??:?
[4] #10 Foam::OutputFilterFunctionObject<Foam::nearWallFie lds>::start() at ??:?
[3] #10 Foam::OutputFilterFunctionObject<Foam::nearWallFie lds>::start() at ??:?
[1] #11 Foam::functionObjectList::read() at ??:?
[0] #10 Foam::OutputFilterFunctionObject<Foam::nearWallFie lds>::start() at ??:?
[5] #11 Foam::functionObjectList::read() at ??:?
[2] #10 Foam::OutputFilterFunctionObject<Foam::nearWallFie lds>::start() at ??:?
[4] #11 Foam::functionObjectList::read() at ??:?
[3] #11 Foam::functionObjectList::read() at ??:?
at ??:?
[0] #11 Foam::functionObjectList::read()[1] #12 Foam::Time::loop() at ??:?
[2] #11 Foam::functionObjectList::read() at ??:?
[5] #12 Foam::Time::loop() at ??:?
[4] #12 Foam::Time::loop() at ??:?
[3] #12 Foam::Time::loop() at ??:?
[0] #12 Foam::Time::loop() at ??:?
[1] #13 Foam::simpleControl::loop() at ??:?
[2] #12 Foam::Time::loop() at ??:?
[5] #13 Foam::simpleControl::loop() at ??:?
[3] #13 Foam::simpleControl::loop() at ??:?
[4] #13 Foam::simpleControl::loop() at ??:?
[0] #13 Foam::simpleControl::loop() at ??:?
[1] #14 at ??:?
[2] #13 Foam::simpleControl::loop() at ??:?
[5] #14 at ??:?
[3] #14 at ??:?
[4] #14 at ??:?
[0] #14 ? at ??:?
[2] #14 ??? at ??:?
[1] #15 __libc_start_main?? at ??:?
[5] #15 __libc_start_main at ??:?
[3] #15 __libc_start_main at ??:?
[4] #15 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
[1] #16 at ??:?
[0] #15 __libc_start_main at ??:?
[2] #15 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
[3] #16 in "/lib/x86_64-linux-gnu/libc.so.6"
[5] #16 in "/lib/x86_64-linux-gnu/libc.so.6"
[4] #16 ? in "/lib/x86_64-linux-gnu/libc.so.6"
[0] #16 in "/lib/x86_64-linux-gnu/libc.so.6"
[2] #16 ??? at ??:?
[mira1:38383] *** Process received signal ***
[mira1:38383] Signal: Segmentation fault (11)
[mira1:38383] Signal code: (-6)
[mira1:38383] Failing at address: 0x907d000095ef
[mira1:38383] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x350e0) [0x7f1e464db0e0]
[mira1:38383] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x37) [0x7f1e464db067]
[mira1:38383] [ 2] /lib/x86_64-linux-gnu/libc.so.6(+0x350e0) [0x7f1e464db0e0]
[mira1:38383] [ 3] /opt/openfoam240/platforms/linux64GccDPOpt/lib/libfieldFunctionObjects.so(_ZN4Foam8particle11trac kToFaceINS_16findCellParticle12trackingDataEEEdRKN S_6VectorIdEERT_+0x151) [0x7f1e3cf9b611]
[mira1:38383] [ 4] /opt/openfoam240/platforms/linux64GccDPOpt/lib/libfieldFunctionObjects.so(_ZN4Foam16findCellParti cle4moveERNS0_12trackingDataEd+0x97) [0x7f1e3cf987b7]
[mira1:38383] [ 5] /opt/openfoam240/platforms/linux64GccDPOpt/lib/libfieldFunctionObjects.so(_ZN4Foam5CloudINS_16fin dCellParticleEE4moveINS1_12trackingDataEEEvRT_d+0x 8a8) [0x7f1e3cf94828]
[mira1:38383] [ 6] /opt/openfoam240/platforms/linux64GccDPOpt/lib/libfieldFunctionObjects.so(_ZN4Foam14nearWallField s14calcAddressingEv+0xa83) [0x7f1e3cf83bc3]
[mira1:38383] [ 7] /opt/openfoam240/platforms/linux64GccDPOpt/lib/libfieldFunctionObjects.so(_ZN4Foam14nearWallField s4readERKNS_10dictionaryE+0x338) [0x7f1e3cf84818]
[mira1:38383] [ 8] /opt/openfoam240/platforms/linux64GccDPOpt/lib/libfieldFunctionObjects.so(_ZN4Foam14nearWallField sC2ERKNS_4wordERKNS_14objectRegistryERKNS_10dictio naryEb+0x280) [0x7f1e3cf84bd0]
[mira1:38383] [ 9] /opt/openfoam240/platforms/linux64GccDPOpt/lib/libfieldFunctionObjects.so(_ZN4Foam26OutputFilterF unctionObjectINS_14nearWallFieldsEE14allocateFilte rEv+0x1ab) [0x7f1e3cf97ddb]
[mira1:38383] [10] /opt/openfoam240/platforms/linux64GccDPOpt/lib/libfieldFunctionObjects.so(_ZN4Foam26OutputFilterF unctionObjectINS_14nearWallFieldsEE5startEv+0x30) [0x7f1e3cf98290]
[mira1:38383] [11] /opt/openfoam240/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZN4Foam18functionObjectList4readEv +0xa18) [0x7f1e475b4d98]
[mira1:38383] [12] /opt/openfoam240/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZN4Foam4Time4loopEv+0x10c) [0x7f1e475c72fc]
[mira1:38383] [13] /opt/openfoam240/platforms/linux64GccDPOpt/lib/libfiniteVolume.so(_ZN4Foam13simpleControl4loopEv+ 0xfa) [0x7f1e499e886a]
[mira1:38383] [14] simpleFoam() [0x41b56a]
[mira1:38383] [15] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7f1e464c7b45]
[mira1:38383] [16] simpleFoam() [0x41ccd9]
[mira1:38383] *** End of error message ***
?--------------------------------------------------------------------------
mpirun noticed that process rank 1 with PID 38383 on node mira1 exited on signal 11 (Segmentation fault).
Ivanj56 is offline   Reply With Quote

Reply

Tags
motorbike, openfoam, simplefoam, snappyhexmesh


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 09:00.