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

Trying to create a porous solver for transient flow

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By wyldckat

Reply
 
LinkBack Thread Tools Search this Thread 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: 10
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: 10
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
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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


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
Problem on boundary conditions (multi-phase, porous media, 3 flow domains) Juun FLUENT 1 November 19, 2023 01:06
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
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 15:14.