|
[Sponsors] |
Multi porous material simulation with porousSimpleFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 31, 2016, 14:40 |
Multi porous material simulation with porousSimpleFoam
|
#1 |
Senior Member
Ali reza
Join Date: Mar 2014
Posts: 110
Rep Power: 12 |
Hello everyone
I am trying to simulate airflow in a porous material with 3 different porosities. As you can see in the attached picture there are three squares with different porosities stick to each other. they are named from left to right, one, two and three The mesh is imported from Gambit and 3 squares are defined in topoSetDict. I also defined these 3 zones in cellZones and until now everything is OK. I defined Porosity properties in constant folder in this way: Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.2.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; location "constant"; object porosityProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // one { type DarcyForchheimer; active yes; cellZone one; DarcyForchheimerCoeffs { d d [0 -2 0 0 0 0 0] (9.65e7 9.65e7 9.65e7); f f [0 -1 0 0 0 0 0] (7.21 7.21 7.21); coordinateSystem { e1 (1 0 0); e2 (0 1 0); } } two type DarcyForchheimer; active yes; cellZone two; DarcyForchheimerCoeffs { d d [0 -2 0 0 0 0 0] (20e4 20e4 20e4); f f [0 -1 0 0 0 0 0] (0 0 0); coordinateSystem { e1 (1 0 0); e2 (0 1 0); } } three type DarcyForchheimer; active yes; cellZone three; DarcyForchheimerCoeffs { d d [0 -2 0 0 0 0 0] (9.65e5 9.65e5 9.65e5); f f [0 -1 0 0 0 0 0] (7.21 7.21 7.21); coordinateSystem { e1 (1 0 0); e2 (0 1 0); } } } // ************************************************************************* // Code:
Create time Create mesh for time = 0 SIMPLE: no convergence criteria found. Calculations will run for 100000 steps. Reading field p Reading field U Reading/calculating face flux field phi Selecting incompressible transport model Newtonian Selecting RAS turbulence model laminar Creating finite volume options No finite volume options present No MRF models present Creating porosity model list from porosityProperties Porosity region one: selecting model: DarcyForchheimer creating porous zone: three Using pressure implicit porosity Starting time loop Thanks for your help Last edited by 1988; July 31, 2016 at 14:41. Reason: mistake |
|
August 1, 2016, 03:13 |
|
#2 |
New Member
Join Date: Apr 2014
Posts: 24
Rep Power: 12 |
Hey,
count your brackets in your porosityProperties; Code:
porosity1 { type DarcyForchheimer; active yes; cellZone porosity; DarcyForchheimerCoeffs { d d [0 -2 0 0 0 0 0] (5e7 -1000 -1000); f f [0 -1 0 0 0 0 0] (0 0 0); coordinateSystem { type cartesian; origin (0 0 0); coordinateRotation { type axesRotation; e1 (0.70710678 0.70710678 0); e2 (0 0 1); } } } } In your code the closing brackets for the first two zones are missing... |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Setting the height of the stream in the free channel | kevinmccartin | CFX | 12 | October 13, 2022 22:43 |
material properties for FSI simulation | amsys | CFX | 1 | June 22, 2016 09:15 |
Compression stoke is giving higher pressure than calculated | nickjuana | CFX | 62 | May 19, 2015 14:32 |
Fluid flow in porous material | bjorson | Main CFD Forum | 1 | January 31, 2011 08:33 |
model for porous material | sleepinglily | CFX | 3 | October 19, 2004 11:45 |