I have a small question. If 'rhoPorousSimpleFoam' is a steady state solver then why it asks for 'deltaT'? If it is a pseudo time step then What will be the difference in solution if we run the case with different deltaT, say the same case is run once with dt=1sec and once with say dt= 0.001 sec??
Further, as in the governing equation the porosity comes only in time derivative (ddt) term, then how it considers the porosity if it is a steady state solver?
i think deltaT is set to calculate the total amount of iterations
startTime 0; endTime 50; deltaT 1; should be the same like
startTime 0; endTime 5; deltaT 0.1; (but not sure)
therefore writeInterval had to be >= 1
in what governing equation do you find the porosity comes only in time derivative (ddt) term
like i understand you can set the porousZone/porosity Explizit or Implizit
in the UEqn and pEqn
pressureImplicitPorosity is defined in createFields
and is set ON with the nUCorrectors entry in the fvSolution
the porosity is considered in the UEqn by pZones.addResistance(UEqn());
but i am new to OpenFoam and to fluiddynamics and
this is what i understand, please correct me, if i am wrong.
Hi, MLD, its me again
now i found the governing equation you talked about, and i understand why you ask this
so i take a look at the porousZone files in /OpenFOAM/OpenFOAM-1.7.1/src/finiteVolume/cfdTools/general/porousMedia/
and in the porousZone.H i found
and therefore only the source term which is represented in the Darcy-Forchheimer law is important
Thanks for your quick replies. And you are right, I was also studying the codes of 'rhoPorousSimleFoam' and found that it does not consider the porosity 'phi' explicitly, but it considers the superficial velocity instead. Check also the following link... http://www.cfd-online.com/Forums/ope...implefoam.html.
In my case considering only the porous drag is not enough and at some point of time I would have to use another solver named 'rhoPorousMRFSimpleFoam' which seems to be a transient solver for porosity. We can share our experiences. In fact my projects requirements are beyond the existing solver capabilities in OF and after getting the results from the existing solvers I would like to modify the existing solvers for my project needs, which would consider the transient porosity from DEM (discrete element modeling).
What form of Energy euation is solved in rhoPorousSimpleFoam. I mean, does it takes the heat transfer between fluid and solid parts. And if yes then where it asks for the thermal conductivities of fluid and solid. See the part of the code in file hEqn.H :
00002 fvScalarMatrix hEqn
00004 fvm::div(phi, h)
00005 - fvm::Sp(fvc::div(phi), h)
00006 - fvm::laplacian(turbulence->alphaEff(), h)
00008 fvc::div(phi/fvc::interpolate(rho)*fvc::interpolate(p, "div(U,p)"))
00009 - p*fvc::div(phi/fvc::interpolate(rho))
Here, what it refer to 'alphaEff()', is it thermal diffusivity?? The question may be stupid as I ma new user of this kind of code.
thank you for the link.
i think you are right with the 'alphaEff()' is the thermal diffusivity.
EDIT: in e.g. src/turbulenceModels/compressible/RAS/kEpsilon/kEpsilon.H
maybe chtMultiRegionFoam takes both fluid and solid in its Energy/Temperature Eqn.
would be nice, if someone who is familiar with that could reply
|All times are GMT -4. The time now is 21:10.|