|
[Sponsors] |
getting a annoying error when simulating flow over porous media |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 6, 2014, 12:24 |
|
#21 |
Member
santhosh
Join Date: Apr 2009
Location: India
Posts: 70
Rep Power: 17 |
I found following article also useful in understanding the porous media implementation. Look at first term in the equation 1. In the previous version of openfoam it was implemented in modifyDdt routine.
https://www.google.co.in/url?sa=t&rc...68445247,d.c2E |
|
June 10, 2014, 06:23 |
|
#22 |
New Member
Peter
Join Date: Apr 2014
Posts: 21
Rep Power: 12 |
Hi Santhosh,
sorry, that was my mistake, I mixed up porosity and permeability. I neither used the porosity value, nor do I have a porousZones folder. The way I incorporated the porosity was by simply multiplying the d-value (the reciprocal of the Darcy coefficient) with the porosity. Is it a correct way to do so? Peter |
|
June 10, 2014, 09:07 |
|
#23 |
Member
santhosh
Join Date: Apr 2009
Location: India
Posts: 70
Rep Power: 17 |
I not very sure whether you can incorporate the effect of porosity by modifying the viscous resistance/permeability value. For relatively simple models/geometries you can derive the permeability value by using porosity (Kozeny-karman). But for complex geometries it is difficult to arrive at such a correlation.
In other thread, I came to know about wave2Foam toolbox, where they have implemented this feature in porousWaveFoam. If you are interested you may go through it. I am currently started looking into it. |
|
November 30, 2014, 05:59 |
|
#24 | |
New Member
Mahdi
Join Date: Sep 2013
Posts: 11
Rep Power: 13 |
Quote:
Hi Alexey, I have encountered the similar problem: --> FOAM FATAL ERROR: request for volScalarField nu from objectRegistry region0 failed available objects of type volScalarField are 2 ( rAU p ) To have a better explanation, I am using a mesh motion solver: icoDyMFoam. As I wanted to have porosity solver, I tried to add porosity to this solver with this hint: http://www.cfd-online.com/Forums/ope...tml#post508703 Now the solver seems to be compiled, so I added a porousZones file to constant folder as follows: FoamFile { version 2.0; format ascii; class dictionary; location "constant"; object porousZones; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 1 ( poro { coordinateSystem { e1 (1 0 0); e2 (0 1 0); } Darcy { d d [0 -2 0 0 0 0 0] (1000 1000 1000); f f [0 -1 0 0 0 0 0] (0 0 0); } } ) but I received the mentioned error. I have nu defined in transportProperties so I could not understand why it is complaining about. Thanks a lot for your help in advance and Best, Mahdi |
||
November 30, 2014, 07:08 |
|
#25 |
Senior Member
|
Hi,
As you did not post you code, I will try to guess. Here's a snippet from createFields.H (from icoFoam) Code:
... dimensionedScalar nu ( transportProperties.lookup("nu") ); ... And as...
|
|
November 30, 2014, 07:28 |
|
#26 | |
New Member
Mahdi
Join Date: Sep 2013
Posts: 11
Rep Power: 13 |
Quote:
Hi Alexey, Thank you so much for the quick and perfect reply on Sunday I just changed the createFields.H and added nu as a volScalarField and then added new file of nu to 0 folder as the boundary condition, now it is running. Is this solution acceptable? By the way, pimpleDyMFoam should be also fine for my purpose; however, I did'nt know that it is able to set porosity with fvOptions! Could you please let me know how I could set porosity with fvOptions? Is there any tutorial that I could refer to? Just one other point, I am using foam-extend-3.1 and when I checked UEqn.H of pimpleDyMFoam or pimpleFoam, there is no fvOptions added to the momentum equation, while there is such a thing in e.g. OF2.3! Does it mean that it is not possible to use fvOptions in extended version? Thanks and Best, Mahdi |
||
November 30, 2014, 08:47 |
|
#27 | |||
Senior Member
|
Hi,
Quote:
Quote:
Quote:
Code:
porousZones pZones(mesh); Switch pressureImplicitPorosity(false); Code:
IOporosityModelList pZones(mesh); Switch pressureImplicitPorosity(false); |
||||
February 21, 2015, 13:36 |
similar error
|
#28 |
New Member
Join Date: Feb 2015
Posts: 3
Rep Power: 11 |
Hello to everybody this is my first post on CFD-online.
I'm having trouble with a similar error like those discussed in #1 and #5. I'm trying to run the wiggleyhull tutorial from OF2.2x using OF2.3 and LTSInterFoam solver. Starting the solver leads to the following error: Code:
--> FOAM FATAL ERROR: request for volScalarField alpha1 from objectRegistry region0 failed available objects of type volScalarField are 20 ( rSubDeltaT alpha.water_0 interfaceProperties:K nut alpha.water rho k p_rgh nu gh nu1 rDeltaT p rho_0 nu2 alpha.air k_0 omega omega_0 y ) From function objectRegistry::lookupObject<Type>(const word&) const in file /Users/.../OpenFOAM/OpenFOAM-2.3.x/src/OpenFOAM/lnInclude/objectRegistryTemplates.C at line 198. FOAM aborting #0 Foam::error::printStack(Foam::Ostream&)SCANs: realpath [/Volumes/OpenFOAM-v2.3.x/OpenFOAM-2.3.x/which mpicc] failed with errno 62 (Too many levels of symbolic links) SCANs: realpath [/Volumes/OpenFOAM-v2.3.x/OpenFOAM-2.3.x/which mpicc] failed with errno 62 (Too many levels of symbolic links) in "libOpenFOAM.dylib" Abort trap: 6 Any ideas on how to solve this problem will be appreciated! |
|
June 6, 2016, 12:02 |
Error -porousInterFoam in porousDamBreak Tutorial
|
#29 |
New Member
Edinburgh
Join Date: May 2016
Posts: 1
Rep Power: 0 |
Please help me in this error. I checked the files again and again but didn't find any mistake. I will be really helpful for me if you can tell me the fix?
--> FOAM FATAL IO ERROR: Cannot find patchField entry for porosityWall file: /home/umer/OpenFOAM/OpenFOAM-2.4.0/umer-2.4.0/run/porousDamBreak/0/p_rgh.boundaryField from line 25 to line 55. From function GeometricField<Type, PatchField, GeoMesh>::GeometricBoundaryField::readField(const DimensionedField<Type, GeoMesh>&, const dictionary&) in file /home/umer/OpenFOAM/OpenFOAM-2.4.0/src/OpenFOAM/lnInclude/GeometricBoundaryField.C at line 209. FOAM exiting Regards, Umer |
|
April 28, 2017, 07:15 |
|
#30 |
New Member
Umer
Join Date: Aug 2016
Posts: 29
Rep Power: 10 |
Hello,
I am using twoPhaseeEulerFoam and want to porous media into it. I tried to add explicitPorositySource using fvOptions and its working fine but i want add relative permeability into DarcyForchheimer model and for that i want to use this simple relation e.g. K =kkra. Do you have any idea how can i change the DarcyForchheimer model. Please help or any suggestion? Umer |
|
April 28, 2017, 07:19 |
|
#31 |
New Member
Umer
Join Date: Aug 2016
Posts: 29
Rep Power: 10 |
Hello,
I am using twoPhaseeEulerFoam and want to add porous media into it. I tried to add explicitPorositySource using fvOptions and its working fine but i want to add relative permeability into DarcyForchheimer model and for that i want to use this simple relation e.g. K =kkra. Do you have any idea how can i change the DarcyForchheimer model. Please help or any suggestion? Umer |
|
May 4, 2017, 12:23 |
|
#32 |
New Member
Umer
Join Date: Aug 2016
Posts: 29
Rep Power: 10 |
Hello,
I am looking for help related to explicit source term > DarcyForchheimer (porosityModel). What i am trying to do: -available source term for DarcyForchheimer is Si = -(μ D + 1/2ρ|u|F)ui where D = 1/K , K= intrinsic permeability -Trying to add is K--> KKri in case of two phase for relative permeability if Kri=alphai^2 then source term will become Si = -(μ D/(alphai*alphai) + 1/2ρ|u|F)ui In short i just want to divide D with alpha^2 and alpha value should be coming from the actual solver that is twoPhaseEulerfoam. How can i link this alphai with solver (twophaseEulerFoam) so it starts taking values( of alpha1 & alhpa2) from the solver. so far i tried this as you recommended >modified DarcyForchheimerTemplate.C by changing mu[cellI]*dZones[j]/(alpha[cellI]*alpha[cellI]) + (rho[cellI]*mag(U[cellI]))*fZones[j]; >modified DarcyForchheimer.H by adding "Declared const scalarField& alpha" but i am getting this error. /home/umer/OpenFOAM/OpenFOAM-2.4.0/src/OpenFOAM/lnInclude/runTimeSelectionTables.H:76:66: error: invalid new-expression of abstract class type ‘Foam:orosityModels:arcyForchheimer’ Full image of error is attached Kind Regards, Umer |
|
October 19, 2017, 17:16 |
|
#33 |
New Member
Guillaume
Join Date: Oct 2017
Posts: 8
Rep Power: 9 |
Hi,
I have the same king of error: " request for dictionary transportProperties from objectRegistry region0 failed available objects of type dictionary are 11 ( MRFProperties radiationProperties turbulenceProperties fvSchemes fvOptions fvSolution thermophysicalProperties data reactingCloud1Properties combustionProperties reactingCloud1OutputProperties ) From function const Type& Foam:bjectRegistry::lookupObject(const Foam::word&) const [with Type = Foam::IOdictionary] in file /home/ubuntu/OpenFOAM/OpenFOAM-5.0/src/OpenFOAM/lnInclude/objectRegistryTemplates.C at line 193. FOAM aborting #0 Foam::error:rintStack(Foam::Ostream&) at ??:? #1 Foam::error::abort() at ??:? #2 Foam::IOdictionary const& Foam:bjectRegistry::lookupObject<Foam::IOdiction ary>(Foam::word const&) const at ??:? #3 Foam::incompressible::alphatJayatillekeWallFunctio nFvPatchScalarField::updateCoeffs() at ??:? #4 Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::Boundary::evaluate() in "/opt/openfoam5/platforms/linux64GccDPInt32Opt/bin/simpleReactingParcelFoam" #5 Foam::EddyDiffusivity<Foam::ThermalDiffusivity<Foa m::CompressibleTurbulenceModel<Foam::fluidThermo> > >::correctNut() at ??:? #6 Foam::RASModels::realizableKE<Foam::EddyDiffusivit y<Foam::ThermalDiffusivity<Foam::CompressibleTurbu lenceModel<Foam::fluidThermo> > > >::correctNut(Foam::GeometricField<Foam::Tensor<do uble>, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) at ??:? #7 Foam::RASModels::realizableKE<Foam::EddyDiffusivit y<Foam::ThermalDiffusivity<Foam::CompressibleTurbu lenceModel<Foam::fluidThermo> > > >::correctNut() at ??:? #8 ? in "/opt/openfoam5/platforms/linux64GccDPInt32Opt/bin/simpleReactingParcelFoam" #9 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #10 ? in "/opt/openfoam5/platforms/linux64GccDPInt32Opt/bin/simpleReactingParcelFoam" Aborted (core dumped) guillaume@guillaume-VirtualBox:~/OpenFoam/Spray" I am running simpleReactingParcelFoam to simulate a spray in a pipe. Can someone help me? Any Idea would be more than welcome. Regards, Guillaume |
|
March 14, 2018, 09:20 |
Porous media doesnt run,its gives error
|
#34 |
New Member
Felicity
Join Date: Jan 2018
Location: South Africa
Posts: 3
Rep Power: 8 |
Hello Everyone
I`m sorry to resurrect the old topic,but im stuck. Im trying to characterize distributor plate in a fluidized bed using porous media but i get an error and the solver ignores the porous media completely. I am using twoPhaseEulerFoam solver and the properties of the porous Media is similar to that of angledimplicitduct. Anyone has an idea on how i can solve that,please help. thanks in advance. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to model granular flow through porous media | Axius | FLUENT | 2 | August 7, 2014 11:34 |
compressible flow through porous media | Chirag2302 | FLUENT | 0 | March 3, 2012 00:13 |
Testing the integrity of POROUS media and por jump | Azman | FLUENT | 0 | July 31, 2006 12:11 |
Two phase flow in porous media | Madhavi Krishnan | FLUENT | 3 | June 6, 2005 06:52 |
Simulation of Porous Media Flow | Sharad Dugad | FLUENT | 0 | December 24, 2001 02:57 |