CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

SemiImplicitSource for geostrophic wind with a target function?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 9, 2024, 10:36
Default SemiImplicitSource for geostrophic wind with a target function?
  #1
Senior Member
 
M. Montero
Join Date: Mar 2009
Location: Madrid
Posts: 155
Rep Power: 17
be_inspired is on a distinguished road
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
be_inspired is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 08:39.