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

zeroGradient boundary condition for pointVectorField

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 27, 2023, 03:42
Question zeroGradient boundary condition for pointVectorField
  #1
New Member
 
Khoder Alshaar
Join Date: May 2021
Posts: 8
Rep Power: 5
khoder Alshaar is on a distinguished road
Hello,
of what I understand about zeroGradient boundary for a volumeVectorField, that it applies a zero-gradient condition from the patch internal field onto the patch faces. In other words, it copies the values from the volume of the cell to its boundary face. is this correct?

Then what does this condition do to pointVectorField such as the following?

Code:
FoamFile
{
    version     2.0;
    format      ascii;
    class       pointVectorField;
    location    "0";
    object      lmN;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

dimensions      [1 -2 -1 0 0 0 0];

internalField   uniform (0 0 0);

boundaryField
{
    top
    {
        type    zeroGradient;
    }
    .
    .
    .
    .
}
code is taken from explicitSolidDynamics solver
khoder Alshaar is offline   Reply With Quote

Reply

Tags
boundary condition, zerogradient


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
How to override boundary condition type to zeroGradient xuegy OpenFOAM Running, Solving & CFD 1 October 3, 2022 04:51
Constant mass flow rate boundary condition sahm OpenFOAM 0 June 20, 2018 23:45
Radiation interface hinca CFX 15 January 26, 2014 18:11
An error has occurred in cfx5solve: volo87 CFX 5 June 14, 2013 18:44
RPM in Wind Turbine Pankaj CFX 9 November 23, 2009 05:05


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