0
How to find internal field

Hi

I am trying to do different simualtions in openfoam, but i always have problem while specifying internla field option

i mean i've tried to simulate steady , as well as transient , but every problem that i simulated has BCs with it, and none of the problem has internal field specified with it

pls help.


OpenFOAM 27-07-21, 3:10 p.m. prth_bndl
1

Hi,

The internalField in OpenFOAM initialises the domain with values of all the fields at t=0 (or any other startTime). This is absolutely necessary in any numercial method to solveĀ a time-dependent PDE, not just in OpenFOAM. If you clearly see the problems that you migh've solved already, which you feel didn't have the internalField, you will see that in all the files in the 0 folder, just before the boundary conditions are specified, the internalField is also specified. In most cases, this internalField is uniform, but OpenFOAM does allow non-uniform initialisations too, through the setFields utility. I hope this helps.

Regards,
Ashley

27-07-21, 9:02 p.m. ashleymelvin


0
Hi does this mean if change the inital value of internal field in steady state simulation my result would be different, actually in Fluent we don't have to specify internal field,i mean it get calculated during initialization, that's why I am having this doubt.
28-07-21, 3:43 p.m. prth_bndl

In some cases, yes. An unphysical internalField would result in convergence issues or even non-convergence in some cases. See the below link for more details on the same.

https://www.simscale.com/docs/simulation-setup/initial-conditions/#:~:text=Initial%20conditions%20define%20the%20starting,close%20to%20the%20expected%20solution.

Regards,
Ashley


28-07-21, 4:15 p.m. ashleymelvin

Login to add comment


Log-in to answer to this question.