Writing a wallGradT
Hello fellow openfoam-users,
I'm trying to modify wallGradU to write the sn-gradient of scalar T at the wall calculated by scalarTransportFoam. It seems to be very straightforward, it compiles and runs but I want to make sure the results are correct. Here is what I did: Im creating an IOObject, and an object wallGradT: Code:
volScalarField wallGradT Code:
wallGradT.boundaryField()[patchi] = -T.boundaryField()[patchi].snGrad(); I want to make sure I'm getting correct results.. Thanks in advance! |
That looks believable. You can find almost the same logic in applications/utilities/postProcessing/wall/wallGradU/wallGradU.C
|
All times are GMT -4. The time now is 03:35. |