|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
Join Date: Mar 2014
Posts: 7
Rep Power: 13 ![]() |
Hi,
I am a bit confused on the use of internalField versus setFieldsDict. If I specify the internalField (whether uniform or a vector list), do I still need a setFieldsdDict? In my particular case, I am running mesh refinement for a transient case, so the initial internalField (for the subsequent mesh refinements) is defined using mapFields and the previous coarser solution. Do I need to define a setFieldsDict as well for this finer run? Thanks Last edited by jxs832; July 3, 2018 at 14:03. Reason: typos |
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
Gerhard Holzinger
Join Date: Feb 2012
Location: Austria
Posts: 359
Rep Power: 29 ![]() ![]() |
internalField contains the values of the field for each cell. Alternatively, you can specify uniform values.
If you want to start your simulation with non-trivial initial conditions, then you can use:
Using setFields or mapFields is optional, so you only need the [map|set]FieldsDict file when you use corresponding pre-processing tool. If you directly write your non-uniform values into the internalField list, then you do not need to use any pre-processing tool. However, this list has as many entries as the mesh has cells. |
|
|
|
|
|
![]() |
| Tags |
| initial conditions., internalfields, setfieldsdict |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| internalField condition | mchehab2 | OpenFOAM Running, Solving & CFD | 14 | November 10, 2022 14:28 |
| internalField nonuniform List<vector> and internalField nonuniform List <scalar> | Ferdinand | OpenFOAM Pre-Processing | 1 | January 3, 2020 13:20 |
| sintax rules to compile setFieldsDict | leske | OpenFOAM Pre-Processing | 2 | January 21, 2016 16:58 |
| How can you create a dynamic/calculated internalField? | Dvergr | OpenFOAM Pre-Processing | 0 | October 10, 2014 05:03 |
| the internalField entry of U file is not valid in pisoFoam | shuoxue | OpenFOAM Running, Solving & CFD | 5 | November 25, 2013 05:05 |