|
[Sponsors] |
May 22, 2014, 09:52 |
Fix velocity value
|
#1 |
New Member
mike
Join Date: May 2014
Posts: 5
Rep Power: 12 |
Hello to the OpenFOAM community.
I'm trying to develop a code to simulate wind turbine without using dynamic mesh. In my domain i haven't the mesh of the turbine, i use a cube mesh i calculate the forces and applying that in the right point. I need to fix the velocity value in some point of the domain. In this point i want to fix the velocity without solving the U equation and i'm not sure that it 's possibile without drawing the geometry in the mesh. How can i set the value of the velocity? Thanks, |
|
June 15, 2018, 07:24 |
|
#2 |
Member
Join Date: Nov 2009
Posts: 43
Rep Power: 17 |
Did you find a solution/workaround for this? If so, could you please share it?
|
|
June 17, 2018, 06:09 |
|
#3 |
Member
Vince
Join Date: Mar 2017
Posts: 45
Rep Power: 9 |
Hi Mike,
Please have a look here, lines 18 to 61: https://github.com/vincentcasseau/hy...vEqnInviscid.H Once you've created your fvMatrix, you can use: Code:
my_fvMatrix.setValues(removedCellsFromMatrix, valuesToImpose); where the arguments are defined as follows: Code:
DynamicList<label> removedCellsFromMatrix; DynamicList<scalar> valuesToImpose; Thanks, Vincent |
|
Tags |
fix velocity point |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
NonUniform Velocity Inlet | Paolo.F | OpenFOAM Pre-Processing | 0 | March 3, 2014 09:25 |
Velocity in Porous medium : HELP! HELP! HELP! | Kali Sanjay | Phoenics | 0 | November 6, 2006 07:10 |
Neumann pressure BC and velocity field | Antech | Main CFD Forum | 0 | April 25, 2006 03:15 |
Terrible Mistake In Fluid Dynamics History | Abhi | Main CFD Forum | 12 | July 8, 2002 10:11 |
what the result is negatif pressure at inlet | chong chee nan | FLUENT | 0 | December 29, 2001 06:13 |