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

How do I know which solver

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 13, 2014, 07:08
Question How do I know which solver
  #1
New Member
 
Marvin
Join Date: Jan 2014
Posts: 11
Rep Power: 12
Marvin_Rauch is on a distinguished road
Hello,

I'm a student and my task is to compile some openFOAM cases.

I've done the basic examples of the tutorial on the OpenFOAM homepage, but I'm still newbie.

My question is:

How do I know which solver I have to use?
SimpleFoam, nonEulerianPolyFoam, icoFoam etc.
Can I find a hint in any of the documents, which to use?

The problem is that all solvers I have tried randomly, there are always undefined keywords in "transport properties" like nu.

Thanks for your help

Marvin
Marvin_Rauch is offline   Reply With Quote

Old   January 13, 2014, 07:37
Default
  #2
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Dear Marvin,

you can have a look at the following site to check which solver you have to use for your Problem.

http://www.openfoam.org/features/standard-solvers.php


What is the Problem with "nu" ? it is the kinematic viscosity (laminar) - you can have a look into the source code of the thermodynamics. You will find comments which give you the Information about a variable.

Additionally you can use doxygen http://www.openfoam.org/docs/cpp/


Normally you have mu in the navier-stokes-equation but in the incompressilbe solvers everything is divided with the density so mu/rho = nu.

Therefor you Need nu in the transportProperties.
In other solvers you will have to define mu.

Regards
Tobi
Tobi is offline   Reply With Quote

Old   January 13, 2014, 08:23
Default
  #3
New Member
 
Marvin
Join Date: Jan 2014
Posts: 11
Rep Power: 12
Marvin_Rauch is on a distinguished road
Dear Tobi,

thanks for your fast advice. Indeed rho is defined in transport properties. But not mu.

My advisor told me now I should try viscoelasticinterFoam. I can't find such a solver, nor in your link neither is it implemented in my OpenFoam.

Instead I tried interFoam. There I received the following mistake.

FOAM FATAL IO ERROR:
keyword PIMPLE is undefined in dictionary "/home/marvin/OpenFOAM/marvin-2.2.1/run/Test/system/fvSolution"

file: /home/marvin/OpenFOAM/marvin-2.2.1/run/Test/system/fvSolution at line 27.

Already changed PICO in PIMPLE but didn't work.
Do you have any clue what I can try?

Thanks Marvin
Marvin_Rauch is offline   Reply With Quote

Old   January 13, 2014, 08:52
Default
  #4
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,711
Blog Entries: 6
Rep Power: 52
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
I only know the solver - viscoelasticFluidFoam - but that is included in the extend version.

The solver is telling you how variable it needs if there is some missing.
The best way is, copying a tutorial case and Change the necessary files.


In your case with the tutorial:

1. wrong tutorial Version
2. damaged tutorial (but I think that is not the case)
3. you did something wrong


I am not able to help you because I dont know which steps you are doing.
Tobi is offline   Reply With Quote

Old   January 13, 2014, 08:54
Default
  #5
Senior Member
 
Onno
Join Date: Jan 2012
Location: Germany
Posts: 120
Rep Power: 15
Kaskade is on a distinguished road
If you can't find a solver in the mainline OF-version, it is usually part of the extend-project.

Regarding PIMPLE. Are all the brackets closed?
Kaskade is offline   Reply With Quote

Old   January 13, 2014, 11:39
Default
  #6
New Member
 
Marvin
Join Date: Jan 2014
Posts: 11
Rep Power: 12
Marvin_Rauch is on a distinguished road
Thanks for your help. Now I've seen there are also some libaries I have to extract from the extended project. I hope this works.
Marvin_Rauch is offline   Reply With Quote

Reply

Tags
newbie, solver


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
Fluent Adjoint Solver? ex10148 FLUENT 16 September 28, 2018 09:11
thobois class engineTopoChangerMesh error Peter_600 OpenFOAM 4 August 2, 2014 10:52
Divergence problem Smaras FLUENT 13 February 21, 2013 06:03
3d vof Smaras FLUENT 2 February 19, 2013 07:58
why the solver reject it? Anyone with experience? bearcat CFX 6 April 28, 2008 15:08


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