CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Programming & Development

Trying to create a porous solver for transient flow

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

Like Tree1Likes
  • 1 Post By wyldckat

Reply
 
LinkBack Thread Tools Display Modes
Old   October 6, 2015, 08:25
Default Trying to create a porous solver for transient flow
  #1
New Member
 
Join Date: Sep 2015
Posts: 8
Rep Power: 2
Michael.Mueller is on a distinguished road
Hi at everybody,

I have got the following error message:

dem@dem-EasyNote-TK81:~/OpenFOAM/OpenFOAM-2.3.x/applications/solvers/compressible/rhoCylPorousSimpleFoam$ wmake
SOURCE=rhoCylPorousSimpleFoam.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/home/dem/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/cfdTools -I/home/dem/OpenFOAM/OpenFOAM-2.3.x/src/finiteVolume/lnInclude -I/home/dem/OpenFOAM/OpenFOAM-2.3.x/src/meshTools/lnInclude -I/home/dem/OpenFOAM/OpenFOAM-2.3.x/src/thermophysicalModels/basic/lnInclude -I/home/dem/OpenFOAM/OpenFOAM-2.3.x/src/turbulenceModels/RAS -I/home/dem/OpenFOAM/dem-2.3.x/src/finiteVolume/cfdTools/general/cylPorousMedia/lnInclude -IlnInclude -I. -I/home/dem/OpenFOAM/OpenFOAM-2.3.x/src/OpenFOAM/lnInclude -I/home/dem/OpenFOAM/OpenFOAM-2.3.x/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/rhoCylPorousSimpleFoam.o
rhoCylPorousSimpleFoam.C:36:44: fatal error: compressible/RASModel/RASModel.H: Datei oder Verzeichnis nicht gefunden
#include "compressible/RASModel/RASModel.H"
^
compilation terminated.
make: *** [Make/linux64GccDPOpt/rhoCylPorousSimpleFoam.o] Fehler 1

Thanks for your help

Greeting Michael
Michael.Mueller is offline   Reply With Quote

Old   October 9, 2015, 05:41
Default Creat a Solver for transient flow! Please help me!
  #2
New Member
 
Join Date: Sep 2015
Posts: 8
Rep Power: 2
Michael.Mueller is on a distinguished road
Hello everybody,

I have my back to the wall!

I want to simulate a flow through a porous media with a transient solver!!!
My only evidence is the following indication:

The starting point is the rhoPorousSimpleFoam which must be modify.

"If a transient solver is to be created with porous meda, the modifyDdt member function form the file porousZoneTemplate.C should to be applied to the time derivative term needed in the UEqn.H"

Can anyone built me a transient solver for porous media respectivly modify the rhoPorousSimpleFoam like mentioned above?

Thank a lot!!
You are my last resource!!

Greetings Michael Mueller
Michael.Mueller is offline   Reply With Quote

Old   October 10, 2015, 09:41
Default
  #3
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,558
Blog Entries: 39
Rep Power: 97
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Quick answer: Why don't you simply use rhoPimpleFoam with a porous region via "fvOptions"?
Study the tutorial folder "compressible/rhoPimpleFoam/ras/angledDuct", because I believe that case does what you want to do.

Description of "fvOptions": http://www.openfoam.org/version2.2.0/fvOptions.php
wayne14 likes this.
wyldckat 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
Star cd es-ice solver error ernarasimman STAR-CD 2 September 12, 2014 00:01
rhoPorousSimpleFoam for modeling porous medium adiabatic flow zhzhguo OpenFOAM Programming & Development 0 August 17, 2014 22:34
Problem on boundary conditions (multi-phase, porous media, 3 flow domains) Juun FLUENT 0 August 5, 2013 12:26
Flow parallel to porous media HannesVV CFX 1 June 29, 2013 07:28
Two phase flow in porous media Madhavi Krishnan FLUENT 3 June 6, 2005 05:52


All times are GMT -4. The time now is 22:00.