||September 19, 2013 10:29
Dimension Error not while adding heat source with Heat Equation
I am trying to add Energy source in the turbulent energy equation given below,
alphat = turbulence->nut()/Prt;
turbulence->nu()/Pr + turbulence->nut()/Prt
+ fvm::div(phi, T)
- fvm::laplacian(alphaEff, T)
so if you check the dimension of the equation it is coming (kelvin/sec) , my source q is specified in terms of (j/sec) hence i divided it with the heat capacity Cp1(j/k) of my source and specified correct dimensions in the transport property as well >my solver is running properly if i remove this source term but when i am trying to run with this source term its giving me the following error.
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.
i am not able to track this bug in the solver if somebody can help me on this i will be thankful