Preventing residual testing #4392
Unanswered
david-f-fletcher
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
I have a setup with a large mechanism and want to monitor residuals for only a small subset. To determine the python structure I made the changes in the GUI and then captured the python. I then read the unmodified case into Fluent, pasted in the python and it changed the settings as I expected. The tart of the python block looks like this
solver.settings.solution.monitor.residual = {
'equations': {'ar': {'monitor': False},
'c': {'monitor': False},
'c2h': {'monitor': False},
'c2h2': {'monitor': False},
'c2h3': {'monitor': False},
'c2h4': {'monitor': False},
'c2h5': {'monitor': False},
'c2h6': {'absolute_criteria': 0.0001,
'check_convergence': True,
'monitor': True},
'c3h7': {'monitor': False},
'c3h8': {'absolute_criteria': 0.0001,
'check_convergence': True,
'monitor': True},
AND ends with
'z-velocity': {'absolute_criteria': 0.0001,
'check_convergence': True,
'monitor': True}},
'options': {'criterion_type': 'absolute',
'enhanced_continuity_residual': True,
'n_display': 1000,
'n_save': 1000,
'normalize': False,
'residual_values': {'compute_local_scale': True,
'reporting_option': 'local',
'scale_residuals': True}}
}
My problem with this is that when it is put into a script and run in batch it is ignored. Is there some command that must be issued to force it to override the defaults? If so, can somebody please explain what it is and when it is needed.
Thanks
David
Beta Was this translation helpful? Give feedback.
All reactions