|
[Sponsors] |
May 7, 2019, 05:12 |
Swak4foam
|
#1 |
Member
Farshad
Join Date: Sep 2010
Posts: 36
Rep Power: 16 |
Hi
I use swak4foam to calculate Nusselt number on a boundary: Code:
functions { { type swakExpression; ignore_unimplemented_simpleFunctionObject::movePoints true; valueType faceSet; outputControlMode timeStep; outputInterval 1; writeStartTime 0; fieldName k0; verbose true; autowrite false; accumulations (average); log true; }*/ NusseltNumber { type patchExpression; ignore_unimplemented_simpleFunctionObject::movePoints true; outputControlMode timeStep; outputInterval 1; patches ( hot cold ); verbose true; variables ( "T0=293;" "L=1;" "Th=307;" "Tc=288;" ); expression "snGrad(T)*L*((0.00000000000001*(pow(T,4)))+(0.00000000005*(pow(T,3)))-(0.00000008*(pow(T,2)))+(0.0001*T)-0.0006)/(((0.00000000000001*(pow(T0,4)))+(0.00000000005*(pow(T0,3)))-(0.00000008*(pow(T0,2)))+(0.0001*T0)-0.0006)*(Th-Tc))"; accumulations ( average max weightedAverage );*/ log true; } } Appreciated |
|
Tags |
openfoam, swak4foam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[swak4Foam] difficulties installing swak4foam | newbie29 | OpenFOAM Community Contributions | 120 | October 21, 2022 05:01 |
InterDyMFoam+simpleFunctionObject | Elham | OpenFOAM Running, Solving & CFD | 5 | July 10, 2017 12:59 |
source term in near wall cell | rajcfd | OpenFOAM Pre-Processing | 5 | February 1, 2016 11:31 |
[swak4Foam] Install swak4Foam on OpenFOAM1.7.1 on Ubuntu 13.04 | kobayashi | OpenFOAM Community Contributions | 2 | January 5, 2014 18:33 |
[swak4Foam] fails in parallel with -otherTime? | Phicau | OpenFOAM Community Contributions | 3 | June 26, 2013 14:00 |