|
[Sponsors] |
Dimension Error not while adding heat source with Heat Equation |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 19, 2013, 11:29 |
Dimension Error not while adding heat source with Heat Equation
|
#1 |
Senior Member
Himanshu Sharma
Join Date: Jul 2012
Posts: 101
Rep Power: 14 |
Hi,
I am trying to add Energy source in the turbulent energy equation given below, Code:
{ alphat = turbulence->nut()/Prt; alphat.correctBoundaryConditions(); volScalarField alphaEff ("alphaEff", turbulence->nu()/Pr + turbulence->nut()/Prt ); fvScalarMatrix TEqn ( fvm::ddt(T) + fvm::div(phi, T) - fvm::laplacian(alphaEff, T) - q/Cp1 ); TEqn.relax(); TEqn.solve(); } Code:
Different dimensions for = dimensions : [0 2 -1 0 0 0 0] = [0 4 -3 0 0 0 0] From function dimensionSet::operator=(const dimensionSet&) const in file dimensionSet/dimensionSet.C at line 165. Regards Himanshu |
|
September 20, 2013, 08:11 |
|
#2 |
Senior Member
Join Date: Aug 2013
Posts: 407
Rep Power: 16 |
Hi,
Are you sure Cp1 is not the specific heat capacity? If it is specific heat capacity then the units would be J/(kg.K). Also, isn't the unit of q W/m2? Regards, Antimony |
|
September 20, 2013, 08:18 |
|
#3 | |
Senior Member
Himanshu Sharma
Join Date: Jul 2012
Posts: 101
Rep Power: 14 |
Quote:
|
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Question about heat transfer coefficient setting for CFX | Anna Tian | CFX | 1 | June 16, 2013 07:28 |
[swak4Foam] build problem swak4Foam OF 2.2.0 | mcathela | OpenFOAM Community Contributions | 14 | April 23, 2013 14:59 |
[swak4Foam] funkySetFields compilation error | tayo | OpenFOAM Community Contributions | 39 | December 3, 2012 06:18 |
OpenFOAM on MinGW crosscompiler hosted on Linux | allenzhao | OpenFOAM Installation | 127 | January 30, 2009 20:08 |
heat equation solution source code | john | Main CFD Forum | 1 | May 28, 2004 00:41 |