CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (https://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   patching solid particles in a fluidized bed in OpenFoam (https://www.cfd-online.com/Forums/openfoam-pre-processing/235260-patching-solid-particles-fluidized-bed-openfoam.html)

fredrick April 7, 2021 15:20

patching solid particles in a fluidized bed in OpenFoam
 
1 Attachment(s)
Greeting every one.
I have a case I want to work with in OpenFoam. The case is attached
It imitates a fluidized bed. I have done a quarter of a cylinder to save on computational time.
I have to issues I would want your help.
1. I want to patch the region between (0 0.1 0) and (0, 0.3 0) with solid particles of volume fraction 0.6 and this is the code I use in the setFields Dic
defaultFieldValues
(
volScalarFieldValue alpha.air 1
volScalarFieldValue alpha.particles 0
);
regions
(
cylinderToCell
{
p1 (0 0.1 0);
p2 ( 0 0.3 0);
radius 0.055; //radius of the cylinder
fieldValues
(
volScalarFieldValue alpha.air 0.4
volScalarFieldValue alpha.particles 0.6
); } );
Is this the right way to patch (ie. Using cylinderToCell command)?
2. I also do not want the particles to move to the region below (0 0.1 0);
How do I go about this? Ie limiting the solid volume fraction and hence velocity at 0 in this region at all time during simulation time. Do I still set the values in setFields Dic and how? Thank you

jkhan April 8, 2021 03:47

How to define Time varying k - epsilon parameter?
 
i am sorry i replied by mistake


All times are GMT -4. The time now is 14:56.