CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[swak4Foam] Calculate variable at different heights with GroovyBC

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 7, 2016, 09:26
Default Calculate variable at different heights with GroovyBC
  #1
Senior Member
 
Agustín Villa
Join Date: Apr 2013
Location: Alcorcón
Posts: 313
Rep Power: 15
agustinvo is on a distinguished road
Hello,

I would like to ask you if you have ever used GroovyBC in this way. I want to replicate a BC given by the author of my test case, where it computes a variable at different heights of a patch, which corresponds to the heights of the different cells. And once this variable is given, the gradient of the same in function of the height is calculated. The use of the gradient is not a mistery, but I have no idea on how to compute for each face of my patch the indicated value.

There is an attached sketch. The dashed lines (at different heights) are the lines where I have to compute the variable.

Thanks for your attention!
Attached Images
File Type: png Untitled.png (15.7 KB, 7 views)
agustinvo 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
[swak4Foam] Change in alpha and U with groovyBC in twoPhaseEulerFoam dani2702 OpenFOAM Community Contributions 0 November 17, 2016 03:30
UDF for time based variable to calculate velocity longhuandu Fluent UDF and Scheme Programming 1 January 21, 2013 06:38
Condensation as an additional variable Clark Griswold CFX 2 April 21, 2012 07:20
[OpenFOAM] How to calculate flux across the patch unit ParaView 0 October 23, 2008 16:02
Calculate variable div zero braennstroem OpenFOAM Post-Processing 8 January 28, 2008 10:02


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