View Issue Details

IDProjectCategoryView StatusLast Update
0003331OpenFOAMFeaturepublic2019-08-21 22:39
Reporterjoegi Assigned Tohenry  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
PlatformlinuxOSOpenSuSEOS Version15.1
Summary0003331: fieldMinMax does not read fields keyword on-the-fly
DescriptionWhen running the functionObject fieldMinMax and if you try to update the fields on-the-fly, the new fields are not read.

For example, in the attached case if you update the fields to print p as well,

  old -> field (U)
  new -> fields (U p);

The modification wont be read by the solver as it goes.

The workaround is to turn off the functionObject and then turn it back on (enabled off/on), or the extreme case will be to stop the simulation and restarted it.

If I well recall I have seen this behavior with some other functionObjects that take the keyword fields (I don't recall then though).

This is just an annoying behavior, but it will be great if it can be fixed.

Steps To ReproduceYou can reproduce this behavior with any tutorial.

You can use the attached case and run the shell script (sh ruan_all.sh). Then try to update the functionObject on-the-fly.
TagsNo tags attached.

Activities

joegi

2019-08-21 04:41

viewer  

taylor_green_dummy.tar.gz (196,392 bytes)

henry

2019-08-21 22:39

manager   ~0010680

> The modification wont be read by the solver as it goes.

That is correct, changes to the operation of individual functionObject cannot be made at run-time but you can add and remove functionObjects which provides equivalent functionality in a much simpler manner without the need to read and re-write log files with changes to the headers etc. etc.
 
> The workaround is to turn off the functionObject and then turn it back on (enabled off/on), or the extreme case will be to stop the simulation and restarted it.

That is one way but a simpler approach would be to add another functionObject to process the additional fields.

Issue History

Date Modified Username Field Change
2019-08-21 04:41 joegi New Issue
2019-08-21 04:41 joegi File Added: taylor_green_dummy.tar.gz
2019-08-21 22:36 henry Category Bug => Feature
2019-08-21 22:39 henry Assigned To => henry
2019-08-21 22:39 henry Status new => closed
2019-08-21 22:39 henry Resolution open => no change required
2019-08-21 22:39 henry Note Added: 0010680