CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   Trying to create a porous solver for transient flow (https://www.cfd-online.com/Forums/openfoam-programming-development/160505-trying-create-porous-solver-transient-flow.html)

Michael.Mueller October 6, 2015 08:25

Trying to create a porous solver for transient flow
 
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 October 9, 2015 05:41

Creat a Solver for transient flow! Please help me!
 
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

wyldckat October 10, 2015 09:41

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


All times are GMT -4. The time now is 07:33.