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

How to use a function in meanVelocityForce to drive a fluid?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 22, 2023, 05:17
Default How to use a function in meanVelocityForce to drive a fluid?
  #1
New Member
 
xu
Join Date: Mar 2022
Posts: 2
Rep Power: 0
hhu_xpc is on a distinguished road
Hi Foamers,
How to add a time-dependent velocity function to meanVelocityForce to drive fluid motion?
Something like this,This below is what I set in fvoptions, this is wrong but this is what I want to say, does anyone have any good suggestions? Thanks a lot!

momentumSource
{
type meanVelocityForce;
active yes;
selectionMode all;
fields (U);
Ubar ((cos(2*pi/(12*3600)*time())+1) 0 0 );
}
hhu_xpc is offline   Reply With Quote

Reply

Tags
fvoptions momentum source, meanvelocityforce


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
[mesh manipulation] RefineMesh Error and Foam warning jiahui_93 OpenFOAM Meshing & Mesh Conversion 4 March 3, 2018 12:32
[blockMesh] error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Meshing & Mesh Conversion 2 March 14, 2012 10:56
ParaView for OF-1.6-ext Chrisi1984 OpenFOAM Installation 0 December 31, 2010 07:42
Compilation errors in ThirdPartymallochoard feng_w OpenFOAM Installation 1 January 25, 2009 07:59
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 21:28.