|
[Sponsors] |
July 11, 2018, 08:54 |
|
#21 |
Senior Member
Mieszko Młody
Join Date: Mar 2009
Location: POLAND, USA
Posts: 145
Rep Power: 17 |
Hi,
Are you sure that the term: Foam::fvc::laplacian( D23*T , XV) is correct? shoudn't it be: Foam::fvc::laplacian( D23*XV , T) ? |
|
July 11, 2018, 22:27 |
|
#22 |
Senior Member
Elham
Join Date: Oct 2009
Posts: 184
Rep Power: 17 |
||
July 16, 2018, 05:56 |
|
#23 | |
Senior Member
Elham
Join Date: Oct 2009
Posts: 184
Rep Power: 17 |
Quote:
For the first equation, I changed it to Code:
fvScalarMatrix TEqn ( fvm::ddt(rhoCpT) + fvm::div(rhoCpPhi,T) - Foam::fvm::laplacian( k , T) ); TEqn.relax(); solve ( TEqn == fvc::ddt(p) +Foam::fvc::laplacian( rho2*Cp2*D23*T , XV) ); And as far as I've got Foam::fvc::laplacian( rho2*Cp2*D23*T , XV) in RHS I don't have gradientInternalCoeficients error. |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Elementwise multiplication operator | johndeas | OpenFOAM Running, Solving & CFD | 3 | March 9, 2019 14:03 |
Question about the fvmatrix and Laplacian operator | liuhuafei | OpenFOAM Running, Solving & CFD | 6 | October 3, 2009 07:58 |
Operator declaration in Thermophysical library | lena | OpenFOAM Running, Solving & CFD | 0 | March 12, 2009 10:47 |
Material interfaces and the laplacian operator | cliffoi | OpenFOAM Running, Solving & CFD | 8 | November 8, 2006 09:57 |
Material interfaces using the laplacian operator | cliffoi | OpenFOAM | 0 | November 6, 2006 11:42 |