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

Compressible nonNewtonian solver

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   September 26, 2008, 14:52
Default Hi all I wonder if there is
  #1
New Member
 
Berry De Vries
Join Date: Mar 2009
Posts: 1
Rep Power: 0
berryk is on a distinguished road
Hi all

I wonder if there is a compressible nonNewtonian solver available for OpenFOAM..?

If not: would it be possible to alter the current compressible solver to handle nonNewtonian fluids?

And finally: I added a new viscosity model by copying and then changing the BirdCarreau model, but after compiling it's not working, since it is unknown to the solver:

-------
Unknown viscosityModel type vModel

Valid viscosityModels are :
<list>
-------

How can I let the nonNewtonianIcoFoam solver 'know' I added a new model?

I hope you can help me with this.

Kind regards,
Berry
berryk is offline   Reply With Quote

Old   September 30, 2008, 07:41
Default In order to add a new viscosit
  #2
Member
 
florian
Join Date: Mar 2009
Location: Mannheim - Vincennes - Valenciennes, Deutchland - France
Posts: 34
Rep Power: 8
floooo is on a distinguished road
In order to add a new viscosity model you have to recompile the transport library

- copy the new viscosityModels folder in
OpenFOAM-1.5\src\transportModels\incompressible\viscosityMo dels

- add a new line in the file "files" in order to add your new model during compilation

OpenFOAM-1.5\src\transportModels\incompressible\Make\files

- compile everything

Cd ~/OpenFOAM/OpenFOAM-1.5/src/transportModels
wmake libso incompressible

a new libincompressibleTransportModels.so will be created

now you can recompile nonNewtonianIcoFoam and the new model will be added

I don't know if you can creat a compressible model in the folder incompressible
floooo is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
compressible, 2D NS solver? john Main CFD Forum 2 September 16, 2008 00:16
New compressible solver problem evan OpenFOAM Running, Solving & CFD 0 February 7, 2008 14:49
Can a compressible solver solve incompressible ? jinwon park Main CFD Forum 17 December 13, 2007 06:00
Compressible solver shuo OpenFOAM Running, Solving & CFD 1 October 22, 2006 21:19
Solver fails with compressible flow Eric CFX 4 February 4, 2006 09:28


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