Outils pour utilisateurs

Outils du site


sunfluidh:th2s_meshgen

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
sunfluidh:th2s_meshgen [2017/12/03 00:08] yannsunfluidh:th2s_meshgen [2017/12/03 16:37] (Version actuelle) yann
Ligne 3: Ligne 3:
 [[ meshgen_doc| Click here to come back to the previous page]] [[ meshgen_doc| Click here to come back to the previous page]]
 ----- -----
 +
 +__ Description:__
 +
 +Function with an extremum. \\
 +Cell size is refined at left and right tips of the segment.\\
 +
 __Namelist :__ __Namelist :__
  
    &MESH_FUNCTION_DATA  Function_Name="TANH_TWO_SIDES"  ,    &MESH_FUNCTION_DATA  Function_Name="TANH_TWO_SIDES"  ,
                         Number_of_Cells= 32 ,                         Number_of_Cells= 32 ,
-                        Length= 0.02  , +                        Length= 1.0  , 
-                        Left_Cell_Size= 1.0d-03 +                        Left_Cell_Size= 2.0d-02 
-                        Right_Cell_Size= 1.0d-02 ,+                        Right_Cell_Size= 3.0d-02 ,
                         Reverse_Ordering= .false. /                         Reverse_Ordering= .false. /
 +
 +__Cell size distribution h(l) :__
 +
 +$L$ is the Length.\\
 +$N$ is the Number_of_Cells}.\\
 +$\alpha(l)$ is function of Left_Cell_Size and Right_Cell_Size.\\
 +$x(l)$ is the coordinate.\\
 +$h(l)$ is the cell size.\\
 +$l$ is the cell index.\\
  
 \begin{align*}  \begin{align*} 
-h(1)&= 0 \\ +x(1)&= 0 \\ 
-h(l)&=\frac{1}{2}(1 + \tanh( \alpha(\frac{l-1}{N})-\frac{1}{2})/\tanh(\frac{1}{2}) \beta), 2 \leq l \leq N\\ +F(l)&=\frac{1}{2}(1 + \tanh( \alpha(l)(\frac{l-1}{N})-\frac{1}{2})/\tanh(\frac{1}{2}) \alpha(l)), 2 \leq l \leq N+1\\ 
-h(l)&= L \cdot (\frac{F(l)}{\alpha + (1- \alpha) F(l)})\\ +x(l)&= L \cdot (\frac{F(l)}{\alpha(l) + (1- \alpha(l)) F(l)})\\ 
-h(N+1)&= L+x(N+1)&= L \\ 
 +h(l)&= x(l+1)-x(l)\\
 \end{align*} \end{align*}
  
-$L=\text{Length}$\\ 
-$N=\text{Number_of_Cells}$\\ 
-$\alpha$ and $\beta$ are functions of $\text{Left_Cell_Size}$ and $\text{Right_Cell_Size}$. 
  
  
sunfluidh/th2s_meshgen.1512256112.txt.gz · Dernière modification : 2017/12/03 00:08 de yann

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki