CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Write function in Laplacian Foam (https://www.cfd-online.com/Forums/openfoam-solving/199460-write-function-laplacian-foam.html)

mvee March 6, 2018 21:44

Write function in Laplacian Foam
 
Hi

I am new to the OpenFoam. I looked into laplacian Foam and solved the heat conduction through Flange. I also looked the solver directory of laplacian Foam.
I want to understand how write.h function called. write.h calculates the gradient of temperature. I did not find any line related to this in code. Would you please shed light on it?

Thank you in advance
Mvee

mvee March 8, 2018 20:16

any response is welcomed!

Antimony March 9, 2018 00:08

Hi,

The version I checked, there is a statement

Code:

#include "write.H"
When the solver encounters this line, it goes to write.H and performs tasks there.

Cheers,
Antimony

mvee March 9, 2018 03:22

I was looking for the same but searching few initial lines of laplacianFoam.c file. It is actually mentioned in between the code.

Anyway, Thank you
Mvee


All times are GMT -4. The time now is 16:47.