|
[Sponsors] |
difference between moving wall velocity and fixedvalue |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 2, 2014, 15:39 |
difference between moving wall velocity and fixedvalue
|
#1 |
Member
maryam morta
Join Date: Sep 2013
Posts: 54
Rep Power: 13 |
Hi dear all
Can anybody explain for me what's the difference between boundary condition 'fixedValue' and 'movingWallVelocity' for velocity please? Regards Maryam |
|
May 2, 2014, 23:51 |
|
#2 |
Senior Member
Fumiya Nozaki
Join Date: Jun 2010
Location: Yokohama, Japan
Posts: 266
Blog Entries: 1
Rep Power: 19 |
Hi,
If a wall moves at a constant velocity, you can assign the 'fixedValue' condition on it. On the other hand, if the wall's velocity changes with time, the 'movingWallVelocity' condition is able to impose a non-slip boundary condition on it. You might want to take a look at the tutorial: incompressible/pimpleDyMFoam/oscillatingInletACMI2D Hope this helps, Fumiya
__________________
[Personal]
|
|
June 6, 2014, 14:50 |
|
#3 |
Senior Member
|
Hi,
I have another question about it, and that's it: for a rotating case (like a fan), sometimes I see applied on rotating frame's patches two different BCs. Code:
rotating_wall ( type fixedValue value uniform (0 0 0) ) Code:
rotating_wall ( type movingWallVelocity value uniform (0 0 0) ) Thanks |
|
October 27, 2019, 10:55 |
|
#4 | |
Member
Obi
Join Date: Jul 2016
Location: Canada
Posts: 45
Rep Power: 10 |
Quote:
|
||
October 28, 2019, 03:12 |
|
#5 |
Senior Member
Kmeti Rao
Join Date: May 2019
Posts: 145
Rep Power: 8 |
Hi Obi, I have actually tried both the BCs on MRF and I didn't find any difference between the simulation results. They were exactly the same. However we should use movingWallVelocity in transient simulations.
|
|
October 13, 2021, 19:46 |
|
#6 |
New Member
mo suepe
Join Date: Jul 2020
Posts: 2
Rep Power: 0 |
Hi all, I have done a simulation of a Darrieus wind turbine, where I imposed those BCs on the airfoil, just to compare the results. All other parameters and conditions were set the same. Have a look at my attachments, there you can see a big difference in calculation of the Tangential force and Normal force between those two. The one with BC type movingWallVelocity shows a better agreement in comparison to experimental data. Apparently, the type no_slip overpredict the forces.
In another image, we could also see the difference between those two, what you see there is, the vortical structures behind the airfoil. The one with movingWallVelocity type (right) shows a more realistic vortices wake than the one of no slip (left) |
|
October 19, 2021, 14:11 |
|
#7 |
Senior Member
Join Date: Sep 2013
Posts: 353
Rep Power: 21 |
movingWallVelocity and fixedValue are both fixedValue conditions. For fixedValue the wall velocity is obviously set to the value you are imposing. movingWallVelocity however looks up the velocity from the movement of the wall itself.
Hence Code:
type fixedValue; value (1 0 0); Code:
type movingWallVelocity; value (1 0 0); In other words, if your mesh is not fixed, but moving it applies this: Code:
if (mesh.moving()) { const fvPatch& p = patch(); const polyPatch& pp = p.patch(); const pointField& oldPoints = mesh.oldPoints(); vectorField oldFc(pp.size()); forAll(oldFc, i) { oldFc[i] = pp[i].centre(oldPoints); } const scalar deltaT = mesh.time().deltaTValue(); const vectorField Up((pp.faceCentres() - oldFc)/deltaT); const volVectorField& U = static_cast<const volVectorField&>(internalField()); scalarField phip ( p.patchField<surfaceScalarField, scalar>(fvc::meshPhi(U)) ); const vectorField n(p.nf()); const scalarField& magSf = p.magSf(); tmp<scalarField> Un = phip/(magSf + VSMALL); vectorField::operator=(Up + n*(Un - (n & Up))); } |
|
August 1, 2022, 11:53 |
|
#8 | |
New Member
Join Date: May 2018
Posts: 18
Rep Power: 8 |
So if I have a fixed mesh, do you know the difference between these two definitions?
type fixedValue; value (1 0 0); and type movingWallVelocity; value (1 0 0); Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
BC set at fixedValue (0 0 0), but I get a non-zero velocity @ wall | squadron | OpenFOAM Running, Solving & CFD | 9 | May 31, 2018 11:47 |
rotating wall inside of an MRF zone - fixedValue or movingWallvelocity? | evrikon | OpenFOAM Running, Solving & CFD | 3 | April 30, 2015 04:51 |
Correct velocity boundary condition for a wall in a rotating mesh | zordiack | OpenFOAM Running, Solving & CFD | 2 | March 4, 2014 11:11 |
Problem where FixedValue Inlet meets noSlip Wall | VSass | OpenFOAM Pre-Processing | 0 | May 31, 2013 06:13 |
initial velocity field with a pressure difference | sven82 | OpenFOAM Running, Solving & CFD | 2 | July 23, 2009 06:05 |