Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug for the initialization of mixture_fraction and mixture_fraction_variance #81

Open
YohannEude opened this issue Mar 19, 2021 · 0 comments

Comments

@YohannEude
Copy link
Contributor

Hi,

There are a bug for the initialization for mixture_fraction and mixture_fraction_variance on the master branch. To solve it, update the zone_id in InitializationView.py:

line 331
zone_id = str(self.zone.getCodeNumber())
exp = self.init.getCombustionFormula(zone_id, self.scalar_combustion)

line 346
zone_id = str(self.zone.getCodeNumber())
exp = self.init.getCombustionFormula(zone_id, self.scalar_combustion)

line 521
zone_id = str(self.zone.getCodeNumber())
exp, req, sym = self.init.getCombustionFormulaComponents(zone_id, self.scalar_combustion)

line 525
dialog = QMegEditorView(parent=self,
function_type="ini",
zone_name=self.zone.getLabel(),
variable_name=name,
expression=exp,
required=req,
symbols=sym,
examples=exa)

and line 535
self.init.setCombustionFormula(zone_id, self.scalar_combustion, str(result))

Cheers

Yohann

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant