|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0002585||OpenFOAM||[All Projects] Bug||public||2017-06-16 17:04||2018-07-10 11:17|
|Platform||GNU/Linux||OS||GNU/Linux Ununtu 16.04||OS Version||14.04|
|Target Version||Fixed in Version||dev|
|Summary||0002585: U Residuals in chtMultiRegionSimpleFoam|
|Description||When running a chtMultiRegionSimpleFoam simulation in openfoam-dev the residuals for Ux Uy and Uz do not show up in the log file. The residual function object also does not pick them up. The solution and chtMultiRegionFoam are not affected. I suppose this is either a problem with my setup or stems from the recent addition of residualControl.|
|Steps To Reproduce||Running one of the tutorial cases and checking the log file.|
|Tags||No tags attached.|
@henry: Attached are the following files:
- proposition_v1.patch - Provides the easy to see list of changes made.
- proposition_v1.tar.gz - Provides the files that were changed for fixing this issue, indexed to OpenFOAM-dev commit f6faada42674ab. The files that were changed were as follows:
The fix is simple:
1. Remove the unused line from 'createFluidFields.H', which never loaded the setting from SIMPLE in fvSolution. Also removed the associated variable transfer from 'setRegionFluidFields.H'.
2. Instead, do it in 'readFluidMultiRegionSIMPLEControls.H', the same way it's done in 'readFluidMultiRegionPIMPLEControls.H' for the solver 'chtMultiRegionFoam'.
@Shor-ty: Just giving you the notification that this issue existed in your contribution ;)
thank you for the information. Interesting point that I didn't do it in the SIMPLE but thats the reason why the bugtracking system is important :)
Hi Bruno and Henry,
I am sure that the fix of Bruno works but it should work even without. Stephan mention that the U even does not show up on the screen so I guess he does not have the momentum predictor on. Normally the momentumPredictor boolean is available and thus. I will check it out again after I recompiled the latest dev version.
okay now I got the point. I also added the momentumPredictor switch to the UEqn.H. In previous version it was not there so I missed the point which Bruno mentioned. The lookup for the momentumPredictor was missing which is in the patch of Bruno. The two lines you removed are fine.
@Bruno thanks for the hint and also the email (its a pity that the dash character in my nickname will not give me any notification).
@Henry, can be patched. I checked it and it works fine. Sorry for the stupid bug.
Resolved by commit 53f0c26cf0212cdd0eeaed58bcfa294b063045b1
|2017-06-16 17:04||StephanG||New Issue|
|2017-06-16 17:04||StephanG||Tag Attached: chtMultiregionFoam residualControl|
|2017-06-25 00:21||wyldckat||File Added: proposition_v1.patch|
|2017-06-25 00:21||wyldckat||File Added: proposition_v1.tar.gz|
|2017-06-25 00:30||wyldckat||Note Added: 0008244|
|2017-06-25 00:30||wyldckat||Assigned To||=> henry|
|2017-06-25 00:30||wyldckat||Status||new => assigned|
|2017-06-25 07:32||Shorty||Note Added: 0008245|
|2017-06-25 07:45||Shorty||Note Added: 0008246|
|2017-06-25 08:51||Shorty||Note Added: 0008247|
|2017-06-25 19:28||henry||Status||assigned => resolved|
|2017-06-25 19:28||henry||Resolution||open => fixed|
|2017-06-25 19:28||henry||Fixed in Version||=> dev|
|2017-06-25 19:28||henry||Note Added: 0008250|
|2018-07-10 11:17||administrator||Tag Detached: chtMultiregionFoam residualControl|