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

fixedGradient Boundary Condition

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 27, 2011, 15:52
Default fixedGradient Boundary Condition
  #1
Senior Member
 
Hisham's Avatar
 
Hisham Elsafti
Join Date: Apr 2011
Location: Braunschweig, Germany
Posts: 257
Blog Entries: 10
Rep Power: 17
Hisham is on a distinguished road
Dear Foamers,

I am currently developing a boundary condition to interpolate values over time and space like the timeVaryingMappedFixedValue patch, but for traction/pressure (tractionDisplacement patch) which inherits the fixedGradient patch.

After the interpolation weight (s) is calculated, the timeVaryingMappedFixedValue patch assigns values through this command

Code:
00710 this->operator==((1-s)*startSampledValues_ + s*endSampledValues_);
From this post, I understood that the "==" operator imposes assigned values on the patch (if a "=" is used then new values will not be imposed).

On the other hand, the tractionDisplacement BC assigns its values to gadient() as:
Code:
gradient() =
    (
        (traction_ + pressure_*n)/rho.value()
      + twoMuLambda*fvPatchField<vector>::snGrad() - (n & sigmaD)
    )/twoMuLambda;
My question is: Is it OK to just assign calculated values "gradient" to the gradient() using a "=" operator for each time step? Or is some forcing of the values needed?

Best regards,
Hisham

Last edited by Hisham; September 27, 2011 at 16:32.
Hisham is offline   Reply With Quote

Reply

Tags
fixedgradient, soliddisplacementfoam, timevaryingmapped, tractiondisplacement


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
Domain Imbalance HMR CFX 5 October 10, 2016 05:57
Boundary Conditions Thomas P. Abraham Main CFD Forum 20 July 7, 2013 05:05
asking for Boundary condition in FLUENT Destry FLUENT 0 July 27, 2010 00:55
problem with boundary condition??? smn CFX 5 November 24, 2009 06:37
How to set boundary condition in Fluent for the fo Peiyong FLUENT 1 November 10, 2006 11:44


All times are GMT -4. The time now is 22:47.