|
[Sponsors] |
April 24, 2015, 06:57 |
groovy BC - which value is used
|
#1 |
New Member
Alexander
Join Date: Aug 2014
Location: Graz
Posts: 11
Rep Power: 12 |
Hi!
I am using the groovy BC for the temperature T as followed: { type groovyBC; value uniform 263.15; variables "cp0=1006.4;rho0=1.34;lambda=0.03;thickness=0.09;h a=0.3;Ta=293.15;heatFlux=1/(1/ha+thickness/lambda)*(Ta - T);gradT=heatFlux/(cp0*alphaEff*rho0);"; gradientExpression "gradT"; fractionExpression "0"; } In my "variables" I have the temperature T and my question is: "For T in "variables" which value is used? Is it the patch value one time step before or is used the value T_C (internal field value) or the groovy BC solves the "variables" expression for my current T? I made some tests and as I understand it T is the patch value one time step before but I don't know for sure. Thx for any help Kind regards Alex |
|
April 30, 2015, 13:01 |
|
#2 |
Senior Member
Hesam
Join Date: Feb 2015
Posts: 139
Rep Power: 11 |
Hello,
yes, T is oldTime(T) and you can write it oldTime(T). |
|
May 7, 2015, 05:06 |
|
#3 |
New Member
Alexander
Join Date: Aug 2014
Location: Graz
Posts: 11
Rep Power: 12 |
Thx for the help!!!
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] Groovy BC - time dependend Inlet | Tobi | OpenFOAM Community Contributions | 20 | August 27, 2020 10:22 |
[swak4Foam] How to use groovy Boundary conditions | Zhiheng Wang | OpenFOAM Community Contributions | 8 | November 6, 2019 10:28 |
[swak4Foam] groovy boundary condition for pressure | Ahmed Khattab | OpenFOAM Community Contributions | 4 | November 14, 2015 21:18 |
[swak4Foam] groovy BC | Ahmed Khattab | OpenFOAM Community Contributions | 4 | November 7, 2013 08:51 |
[swak4Foam] using groovy boundry condition in multiphase problom | javad814 | OpenFOAM Community Contributions | 1 | November 30, 2011 17:29 |