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

problems with wind tunnel

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By pbrady2013
  • 1 Post By RobertHB

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 17, 2018, 09:07
Default problems with wind tunnel
  #1
New Member
 
George Guimarães Dias Siqueira
Join Date: Sep 2018
Posts: 2
Rep Power: 0
gesiqueira is on a distinguished road
Hello everyone!

My name is George and I need to simulate a flow in a wind tunnel using the simpleFoam solver, but the simulation has presented the following error:

#0 Foam::error:rintStack(Foam::Ostream&) at ??:?
#1 Foam::sigFpe::sigHandler(int) at ??:?
#2 ? in "/lib/x86_64-linux-gnu/libc.so.6"
#3 Foam::GaussSeidelSmoother::smooth(Foam::word const&, Foam::Field<double>&, Foam::lduMatrix const&, Foam::Field<double> const&, Foam::FieldField<Foam::Field, double> const&, Foam::UPtrList<Foam::lduInterfaceField const> const&, unsigned char, int) at ??:?
#4 Foam::GaussSeidelSmoother::smooth(Foam::Field<doub le>&, Foam::Field<double> const&, unsigned char, int) const at ??:?
#5 Foam::smoothSolver::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const at ??:?
#6 ? in "/opt/openfoam5/platforms/linux64GccDPInt32Opt/bin/simpleFoam"
#7 ? in "/opt/openfoam5/platforms/linux64GccDPInt32Opt/bin/simpleFoam"
#8 ? in "/opt/openfoam5/platforms/linux64GccDPInt32Opt/bin/simpleFoam"
#9 ? in "/opt/openfoam5/platforms/linux64GccDPInt32Opt/bin/simpleFoam"
#10 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#11 ? in "/opt/openfoam5/platforms/linux64GccDPInt32Opt/bin/simpleFoam"

I have no idea how to debug this!!! The flow is laminar, incompressible and the velocity is 13 m/s in the inlet. I do have to finish this for my graduate conclusion!!

Please, if anyone could help me will be very grateful!!

Thank you!
gesiqueira is offline   Reply With Quote

Old   September 18, 2018, 03:39
Default
  #2
Senior Member
 
Robert
Join Date: May 2015
Location: Bremen, GER
Posts: 292
Rep Power: 11
RobertHB is on a distinguished road
Quote:
Originally Posted by gesiqueira View Post
#3 Foam::GaussSeidelSmoother::smooth(Foam::word const&, Foam::Field<double>&, Foam::lduMatrix const&, Foam::Field<double> const&, Foam::FieldField<Foam::Field, double> const&, Foam::UPtrList<Foam::lduInterfaceField const> const&, unsigned char, int) at ??:?
#4 Foam::GaussSeidelSmoother::smooth(Foam::Field<doub le>&, Foam::Field<double> const&, unsigned char, int) const at ??:?
#5 Foam::smoothSolver::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const at ??:?
Looks like a problem with solvers setup for U in fvSolution. If you post your fvSolutionDict i can take a closer look.

Tip: When posting the contents of your fvSolutionDict use the [*code][/code*] tags. Without the *. That keeps your post tidy.
__________________
If you liked my answer to your question, please consider leaving a "Like" in return
RobertHB is offline   Reply With Quote

Old   September 19, 2018, 14:58
Thumbs up
  #3
New Member
 
George Guimarães Dias Siqueira
Join Date: Sep 2018
Posts: 2
Rep Power: 0
gesiqueira is on a distinguished road
Hi RobertHB!!

Thank you very much for your answer! This is my fvSolution for this case:

solvers
{
p
{
solver PCG;
preconditioner DIC;
tolerance 1e-06;
relTol 0.05;
}

pFinal
{
$p;
tolerance 1e-06;
relTol 0;
}


U
{
solver smoothSolver;
smoother symGaussSeidel;
tolerance 1e-05;
relTol 0;
}
}

SIMPLE
{
nCorrectors 3;
nNonOrthogonalCorrectors 1;
pRefCell 0;
pRefValue 0;
}

I've already changed the "smoother" on velocity(U) to "GaussSeidel" but without success, too. If you have any idea, please tell me!! Thanks!!
gesiqueira is offline   Reply With Quote

Old   September 19, 2018, 18:53
Default Solution Diverged
  #4
Member
 
Peter Brady
Join Date: Apr 2014
Location: Sydney, NSW, Australia
Posts: 54
Rep Power: 11
pbrady2013 is on a distinguished road
Hi George,


Following on from Robert/s suggestion of the U solvers that may be a bit premature. Looking through the first two lines of the stack trace:


Code:
#0  Foam::error:printStack(Foam::Ostream&) at ??:?
#1  Foam::sigFpe::sigHandler(int) at ??:?
OpenFOAM threw a sigFpe error, which is a floating point error that I usually take as simply as the solver diverged or that I've really screwed up a mesh or input.


What is the quality of your mesh for this solution?


Are you running steady or transient?


Can you double check your boundary conditions and initial conditions?



Cheers,
-pete
RobertHB likes this.
pbrady2013 is offline   Reply With Quote

Old   September 19, 2018, 18:55
Default
  #5
Member
 
Peter Brady
Join Date: Apr 2014
Location: Sydney, NSW, Australia
Posts: 54
Rep Power: 11
pbrady2013 is on a distinguished road
Quote:
Originally Posted by pbrady2013 View Post
Are you running steady or transient?

Never mind this, I missed that you were running simpleFoam, so steady.
pbrady2013 is offline   Reply With Quote

Old   September 20, 2018, 05:17
Default
  #6
Senior Member
 
Robert
Join Date: May 2015
Location: Bremen, GER
Posts: 292
Rep Power: 11
RobertHB is on a distinguished road
Quote:
Originally Posted by pbrady2013 View Post
Code:
#0  Foam::error:printStack(Foam::Ostream&) at ??:?
#1  Foam::sigFpe::sigHandler(int) at ??:?
OpenFOAM threw a sigFpe error, which is a floating point error that I usually take as simply as the solver diverged or that I've really screwed up a mesh or input.
Checking your mesh twice is always a good idea. But if it really diverged, remember to use your relaxation factors to stabilize your solution. Usually p 0.3 to 0.4 and U 0.7 to 0.9 works quite well. You may also try my fvSolutionDict. Never had any problems with that one. If it still diverges, its the mesh
Attached Files
File Type: h fvOptions_MASTER.h (690 Bytes, 6 views)
pbrady2013 likes this.
__________________
If you liked my answer to your question, please consider leaving a "Like" in return
RobertHB is offline   Reply With Quote

Reply

Tags
simplefoam, wind tunnel


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
Pitsco Airtech 40ic wind tunnel manual & software needed Q-Prof Main CFD Forum 2 May 15, 2019 13:26
Reproducing Wind Tunnel experiment efirvida OpenFOAM Pre-Processing 0 April 19, 2017 15:02
how to setup 3d wind tunnel bukm Siemens 9 December 13, 2014 15:06
Virtual Wind Tunnel in FLUENT ND FLUENT 0 April 7, 2006 07:43
Wind Tunnel Experiment Validation zi FLUENT 1 August 5, 2005 18:19


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