How to find internal field


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


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.


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

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.



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

Login to add comment


@-geometry dash: please do a sudo apt-get update on your system before running the installation script else, you could use a virtualBox for running Ubuntu 16.04

25-04-22, 3:55 p.m. yardarmtweed

Log-in to answer to this question.