Now the initial state has the same format as the mesh file, i.e., is
easy to use a file from a previous run without processing it into a plain text file. Although the previous method presented some updates for 1D small cases, this is quite easy to do with any type of simulations and, in the future, with different mesh formats.
This commit is contained in:
parent
439a45efbf
commit
e25b567d36
10 changed files with 180 additions and 94 deletions
|
|
@ -618,25 +618,12 @@ make
|
|||
Required values are:
|
||||
\begin{itemize}
|
||||
\item \textbf{speciesName}: Character.
|
||||
Name of species.
|
||||
Name of species as defined in the object \textbf{species}.
|
||||
\item \textbf{initialState}: Character.
|
||||
Plain text file that contains the information about the species macroscopic properties in the grid.
|
||||
Initial particles are assumed to be Maxwellian.
|
||||
Output file from previous run used as an initial state for the species.
|
||||
The file format must be the same as in \textbf{geometry.meshType}
|
||||
Initial particles are assumed to have a Maxwellian distribution.
|
||||
File must be located at \textbf{output.path}.
|
||||
The file must contain the following columns in this specific order:
|
||||
\begin{itemize}
|
||||
\item \textit{Element}: Integer.
|
||||
Identifier of the volume in the mesh.
|
||||
It is not required to specify empty volumes.
|
||||
\item \textit{Density}: Real.
|
||||
Species density in $\unit{m^-3}$.
|
||||
\item \textit{Velocity}: Real.
|
||||
Three colums representing the initial velocity in each direction.
|
||||
Units are $\unit{m s^-1}$.
|
||||
\item \textit{Temperature}: Real.
|
||||
One column that represents the initial temperature in $\unit{K}$.
|
||||
|
||||
\end{itemize}
|
||||
\end{itemize}
|
||||
\end{itemize}
|
||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue