My Project
programmer's documentation
|
Initialization and finalization is similar to that of the base examples
Example of input / output for which everything is known.
Without presuming subsonic or supersonic character, the user wishes to impose all the flow characteristics. A supersonic inlet is a special case.
If the speed is outgoing, an homogenous Neumann is imposed on turbulence and user scalars.
Example supersonic output
All features are output. Internal values are used to calculate the flow edge, they should not be imposed.
For turbulence and scalar, if RCODCL values are provided, they will be used in Dirichlet if the mass flow is incoming, otherwise a null flow is imposed (flow outgoing mass or RCODCL informed here). Note that for turbulence RCODCL must be defined for all turbulent variables. Otherwise a null flow is applied).
TODO : verifier la traduction. Exemple de sortie supersonique
toutes les caracteristiques sortent on ne doit rien imposer (ce sont les valeurs internes qui sont utilisees pour le calcul des flux de bord)
pour la turbulence et les scalaires, si on fournit ici des valeurs de RCODCL, on les impose en Dirichlet si le flux de masse est entrant ; sinon, on impose un flux nul (flux de masse sortant ou RCODCL renseigne ici). Noter que pour la turbulence, il faut renseigner RCODCL pour toutes les variables turbulentes (sinon, on applique un flux nul).
Subsonic input example (flow, flow calorimetry)
Two of three characteristics are incoming: two informations must be provided, third is deduced by a scenario of 2-contact and 3-relaxation in the field. Here we choose to give (rho * (U.n) * rho (U.n) * H)
TODO : Verifier la traduction
Exemple d'entree subsonique (debit, debit enthalpique)
2 caracteristiques sur 3 entrent : il faut donner 2 informations la troisieme est deduite par un scenario de 2-contact et 3-detente dans le domaine ici on choisit de donner (rho*(U.n), rho*(U.n)*H) avec H = 1/2 U*U + P/rho + e n la normale unitaire entrante ATTENTION, on donne des DENSITES de debit (par unite de surface)
Subsonic input example with density and velocity.
Two of three characteristics are incoming: two informations must be provided, third is deduced by a scenario of 2-contact and 3-relaxation in the field. Here we choose to give (rho, U).
TODO : Verifier la traduction Exemple d'entree subsonique (masse volumique, vitesse)
2 caracteristiques sur 3 entrent : il faut donner 2 informations la troisieme est deduite par un scenario de 2-contact et 3-detente dans le domaine ici on choisit de donner (rho, U)
Subsonic outlet example
1 characteristic out of 3 exits: 1 information must be given the 2 others are deduced by a 2-contact and 3-relaxation in the domain. Here we choose to definer P.
Turbulence and user scalars take a zero flux.
Wall example
Symmetry example