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

Normalization of Variables #2095

Open
erny123 opened this issue Oct 4, 2024 · 1 comment
Open

Normalization of Variables #2095

erny123 opened this issue Oct 4, 2024 · 1 comment

Comments

@erny123
Copy link

erny123 commented Oct 4, 2024

Hi all,

Is there any info on the normalization of variables? In the examples we just grab some equations using a function like LinearScalarAdvectionEquation2D(). But, for example, the Navier-Stokes equations require an input of the viscosity and Prandtl number:

CompressibleNavierStokesDiffusion2D(equations, mu = mu(),
                                                          Prandtl = prandtl_number(),
                                                          gradient_variables = GradientVariablesPrimitive())

Usually, you would normalize the Navier-Stokes equations given the viscosity and prandtl number so is this happening internally or do you initial conditions and any other input have to already be normalized?

@ranocha
Copy link
Member

ranocha commented Oct 6, 2024

Trixi.jl does not enforce any special nondimensionalization. For example, the docstring of the compressible Navier-Stokes terms states that you can choose your favorite nondimensionalization - but you are responsible for making everything consistent.

Does this answer your question? If so, do you have suggestions how to improve the documentation to clarify this?

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

2 participants