CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Periodic Force-driven Liquidflow with icofoam (https://www.cfd-online.com/Forums/openfoam-solving/182210-periodic-force-driven-liquidflow-icofoam.html)

Jem01 January 4, 2017 03:28

Periodic Force-driven Liquidflow with icofoam
 
Hey, im trying to implement a periodic liquidflow with icofoam. I dont manage to add a Force to get movement in it.

This is my blockMeshDict:
convertToMeters 0.001;

Quote:

vertices
(
(0 0 0)
(3 0 0)
(3 1 0)
(0 1 0)
(0 0 0.1)
(3 0 0.1)
(3 1 0.1)
(0 1 0.1)
);

blocks
(
hex (0 1 2 3 4 5 6 7) (20 20 1) simpleGrading (1 1 1)
);

edges
(
);

boundary
(
inlet
{
type cyclic;
neighbourPatch outlet;
faces
(
(0 3 4 7)
);
}
outlet
{
type cyclic;
neighbourPatch inlet;
faces
(
(1 2 5 6)
);
}
upperWall
{
type wall;
faces
(
(2 3 6 7)
);
}
lowerWall
{
type wall;
faces
(
(0 1 4 5)
);
}
frontAndBack
{
type empty;
faces
(
(0 1 2 3)
(4 5 6 7)
);
}
);

mergePatchPairs
(
);

I would like to change the icofoam.c but what exactly do i have to add so there is a force and movement? Im new pls be precise :(

is there another solution to get a force in it?


All times are GMT -4. The time now is 01:13.