|
[Sponsors] | |||||
|
|
|
#1 |
|
Senior Member
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 520
Rep Power: 20 ![]() |
Dear All,
I have a channel flow. 3 walls (lateral and top) are fixed wall. On the contrary, I would like to make the bottom face moving, according to a certain law that I decide. Let's say that my bottom face has 10 cells, I would like to impose a vector with 100 (x 3) coordinates, each showing the displacement of that cell. Is it possible - in my pointDisplacement file - to have something like: Code:
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.1.1 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class pointVectorField;
location "0.01";
object pointDisplacement;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 1 0 0 0 0 0];
internalField uniform (0 0 0);
boundaryField
{
stationaryWalls
{
type fixedValue;
value uniform (0 0 0);
}
movingBlock
{
type pointDisplacement;
value {
(1 0 0)
(0.4 0 0)
(0.4 0 0)
(0.5 0 0)
(0.5 0 0)
(0.5 0 0)
(0.5 0 0)
(0.4 0 0)
(0.4 0 0)
(1 0 0)
}
}
}
Samuele Last edited by samiam1000; May 12, 2013 at 17:23. |
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
HECKMANN Frédéric
Join Date: Jul 2010
Posts: 249
Rep Power: 18 ![]() |
Do you want a dynamic mesh morphing ? I mean, does it has to move according to time or you simply want to move it outside of a solver ?
By the way, your file should be: Code:
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.1.1 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class pointVectorField;
location "0.01";
object pointDisplacement;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 1 0 0 0 0 0];
internalField uniform (0 0 0);
boundaryField
{
stationaryWalls
{
type fixedValue;
value uniform (0 0 0);
}
movingWall
{
type fixedValue;
value nonuniform List<vector>
10
(
(1 0 0)
(0.4 0 0)
(0.4 0 0)
(0.5 0 0)
(0.5 0 0)
(0.5 0 0)
(0.5 0 0)
(0.4 0 0)
(0.4 0 0)
(1 0 0)
)
;
}
}
|
|
|
|
|
|
|
|
|
#3 |
|
Senior Member
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 520
Rep Power: 20 ![]() |
That's great!
Thank you very much! |
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to set periodic boundary conditions | Ganesh | FLUENT | 15 | November 18, 2020 07:09 |
| Star CCM Overset Mesh Error (Rotating Turbine) | thezack | Siemens | 7 | October 12, 2016 12:14 |
| Mesh motion with Translation & Rotation | Doginal | CFX | 2 | January 12, 2014 07:21 |
| 3D Hybrid Mesh Errors | DarrenC | ANSYS Meshing & Geometry | 11 | August 5, 2013 07:42 |
| Dynamic moving mesh | Pei-Ying Hsieh (Hsieh) | OpenFOAM Running, Solving & CFD | 64 | June 7, 2012 11:04 |