CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Problem with using oscillatingFixedvalue in OpenFoam 1.6 (https://www.cfd-online.com/Forums/openfoam/72108-problem-using-oscillatingfixedvalue-openfoam-1-6-a.html)

markong January 25, 2010 18:08

Problem with using oscillatingFixedvalue in OpenFoam 1.6
 
I tried to follow the OpenFoam wiki to set up the oscillating wall for my simulation, and i changed the refValue from uniform (1 0 0) to uniform (0 0 0), as i want to set up a pure oscillatory flow. It is described as below:

dimensions [0 1 -1 0 0 0 0];

internalField uniform (0 0 0);

boundaryField
{
movingwall
{
type oscillatingFixedValue;
refValue uniform (0 0 0);
amplitude 1;
frequency 1.257;

}


fixedWalls
{
type fixedValue;
value uniform (0 0 0);
}
}

However, it doesn't work. The moving wall velocity is always zero. If i set the refvalue to be uniform(1 0 0). The movingwall velocity will start to vary. May i know how i can solve this problem?

Please advise, thanks

rieuk September 6, 2010 12:05

can somebody please explain the operation of this boundary condition. What direction is the oscillation enforced

rieuk September 16, 2010 06:05

Ok so I just realised this BC is for scalars and not vectors. Does anyone have any implementation of this BC for vectors??

RMC1 November 5, 2020 02:56

Quote:

Originally Posted by rieuk (Post 275412)
Ok so I just realised this BC is for scalars and not vectors. Does anyone have any implementation of this BC for vectors??

hello, i have the same problem. How did you solve it?

thanks in advance


All times are GMT -4. The time now is 20:27.