Skip to content

flow-over-heated-plate: Remove unnecessary parameter#234

Merged
MakisH merged 4 commits intodevelopfrom
BenjaminRodenberg-remove-nMoles
Feb 1, 2022
Merged

flow-over-heated-plate: Remove unnecessary parameter#234
MakisH merged 4 commits intodevelopfrom
BenjaminRodenberg-remove-nMoles

Conversation

@BenjaminRodenberg
Copy link
Copy Markdown
Contributor

See #226 (comment): From my current perspective, we do not need nMoles.

@BenjaminRodenberg
Copy link
Copy Markdown
Contributor Author

I also removed nMoles in the cases flow-over-heated-plate-steady-state and flow-over-heated-plate-nearest-projection, but did not check any results.

@BenjaminRodenberg BenjaminRodenberg added this to the v202104.2.0 milestone Aug 11, 2021
@BenjaminRodenberg BenjaminRodenberg changed the title flow-over-hot-plate: Remove unnecessary parameter flow-over-heated-plate: Remove unnecessary parameter Aug 11, 2021
@MakisH
Copy link
Copy Markdown
Member

MakisH commented Aug 12, 2021

Have you also tried this with different OpenFOAM versions? I can imagine that this was there for technical reasons, even if not used. But most probably this originates from the very first prototypes, which were probably also based on something else (as is common in OpenFOAM).

@BenjaminRodenberg
Copy link
Copy Markdown
Contributor Author

Have you also tried this with different OpenFOAM versions?

Of course, not 😏

@uekerman
Copy link
Copy Markdown
Member

@BenjaminRodenberg Don't forget the changelog entry.

Copy link
Copy Markdown
Member

@MakisH MakisH left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed. From the OpenFOAM 8 docs:

nMoles: number of moles of component. This entry is only used for combustion modelling based on regress variable with a homogeneous mixture of reactants; otherwise it is set to 1.

Copy link
Copy Markdown
Member

@MakisH MakisH left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks correct. From the OpenFOAM.org user guide:

nMoles: number of moles of component. This entry is only used for combustion modelling based on regress variable with a homogeneous mixture of reactants; otherwise it is set to 1.

@MakisH MakisH merged commit e472814 into develop Feb 1, 2022
@MakisH MakisH deleted the BenjaminRodenberg-remove-nMoles branch February 1, 2022 22:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

No open projects

Development

Successfully merging this pull request may close these issues.

3 participants