|
[Sponsors] |
SemiImplicitSource for geostrophic wind with a target function? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 9, 2024, 10:36 |
SemiImplicitSource for geostrophic wind with a target function?
|
#1 |
Senior Member
M. Montero
Join Date: Mar 2009
Location: Madrid
Posts: 155
Rep Power: 17 |
Hi all,
I am trying to simulate atmospheric boundary layer, firstly focused on the atmFlatTerrain tutorial. I have seen that SemiImplicitSource is used to define the pressure gradient along the domain to obtain the geostrophic wind of 17.5 m/s. What I want is to obtain a specific wind magnitude and wind direction at a specific location of the domain. I see that it is done within SOWFA directly in the solver ( drivingForce ) but I want the workflow to work with OF2212 and next releases, so, using a fvOption. I tried modifying meanVelocicityForce to calculate the pressure gradient required to obtain the target velocity at the specific point I want ( not a scalar, but a vector). After that, apply that pressure gradient to the whole domain. The meanVelocityForce code is easier to manage than the SemiExplicitSource. Any idea how SemiImplicitSource can be modified to accept a target velocity so the input can be automatically updated to converge to the target velocity? Best Regards |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
whats the cause of error? | immortality | OpenFOAM Running, Solving & CFD | 13 | March 24, 2021 08:15 |
Running UDF with Supercomputer | roi247 | FLUENT | 4 | October 15, 2015 14:41 |
is internalField(U) equivalent to zeroGradient? | immortality | OpenFOAM Running, Solving & CFD | 7 | March 29, 2013 02:27 |
[blockMesh] error message with modeling a cube with a hold at the center | hsingtzu | OpenFOAM Meshing & Mesh Conversion | 2 | March 14, 2012 10:56 |
Problem with compile the setParabolicInlet | ivanyao | OpenFOAM Running, Solving & CFD | 6 | September 5, 2008 21:50 |