|
[Sponsors] |
[swak4Foam] groovy BC, gradientExpression, return 0 value |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 9, 2016, 06:40 |
groovy BC, gradientExpression, return 0 value
|
#1 |
Member
Kan
Join Date: Feb 2014
Location: Australia
Posts: 54
Rep Power: 12 |
Dear Foamer,
solver: laplacianFoam openfoam: foam-extend-3.0 I am using groovyBC to prescribe a neumann boundary condition in my heat conduction analysis, the gradient value will be updated during the simulations. however, it always return a zero gradient value, can someone check my setup of boundary condition for temperature? Code:
OF_wall_01 { type groovyBC; value $internalField gradientExpression "gt"; fractionExpression "0" variables ( "T_ambinet = 3.000000e+02;" "k = 1.454000e+01;" "hfc = 100.0;" "gt = hfc*(T-T_ambinet)/k;" ); } Code:
OF_wall_01 { type groovyBC; value $internalField valueExpression "300.0"; fractionExpression "1" } Thank you in advance! Kan |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
undefined reference to a C++'s class member function | linyanx | OpenFOAM Programming & Development | 5 | May 12, 2017 13:44 |
error adding void fraction into the solver & Error when chemistry is on | cmigueis | OpenFOAM Programming & Development | 23 | August 14, 2016 15:53 |
Creating a new field from terms of the turbulence model | HaZe | OpenFOAM Programming & Development | 15 | November 24, 2014 14:51 |
Derive fixed number of phase from clone () in multiphaseEulerFoam Solver | Aj Nair | OpenFOAM Programming & Development | 0 | December 16, 2013 21:41 |
Missing math.h header | Travis | FLUENT | 4 | January 15, 2009 12:48 |