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

Multple FvOptions in OpenFOAM

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 16, 2020, 04:50
Default Multple FvOptions in OpenFOAM
  #1
Senior Member
 
mohammad
Join Date: Sep 2015
Posts: 281
Rep Power: 12
mostanad is on a distinguished road
Hello my friends,
I am using fvOption tool to force a desired mean velocity in my periodic domain. The domain needs to mimic an unbounded box, so it should have zero mean velocity at three directions. To this end, I am forcing the zero Ubar through meanVelocityForce in my fvOption file. However, the fvOption cannot get the exactly zero value. A solution can be a very small value like

Code:
Ubar= (1e-7 1e-7 1e-7)
So do you think whether it is a good solution? Does it force zero mean velocity in my domain? How about using multiple fvOption sources like:
Code:
Ubar=(1e-7 0 0)
Ubar=(0 1e-7 0)
Ubar=(0 0 1e-7)
Is this possible in OF to use multiple meanVelocityForce sources?
Thank you for your help.
Mo
mostanad is offline   Reply With Quote

Old   November 17, 2020, 02:23
Default
  #2
Senior Member
 
mohammad
Join Date: Sep 2015
Posts: 281
Rep Power: 12
mostanad is on a distinguished road
Is this equivalent to these fvOption source terms?
Code:
momentumSource1
{
    type            meanVelocityForce;
    active          on;
    selectionMode   all; 
        

        fields  (U);
        Ubar        (0 0 0.0000001); 
}


momentumSource2
{
    type            meanVelocityForce;
    active          on;
    selectionMode   all; 
        
        fields  (U);
        Ubar        (0 0.0000001 0); 
}


momentumSource3
{
    type            meanVelocityForce;
    active          on;
    selectionMode   all; 
        
        fields  (U);
        Ubar        ( 0.0000001 0 0); 
}
mostanad 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
Frequently Asked Questions about Installing OpenFOAM wyldckat OpenFOAM Installation 3 November 14, 2023 12:58
OpenFOAM Training Jan-Jul 2017, Virtual, London, Houston, Berlin CFDFoundation OpenFOAM Announcements from Other Sources 0 January 4, 2017 07:15
OpenFOAM Training, London, Chicago, Munich, Sep-Oct 2015 cfd.direct OpenFOAM Announcements from Other Sources 2 August 31, 2015 14:36
OpenFOAM Foundation releases OpenFOAM 2.2.2 opencfd OpenFOAM Announcements from ESI-OpenCFD 0 October 14, 2013 08:18
[Gmsh] 2D Mesh Generation Tutorial for GMSH aeroslacker OpenFOAM Meshing & Mesh Conversion 12 January 19, 2012 04:52


All times are GMT -4. The time now is 21:57.