Initialize the flow from pressure, velocity and strain rate.\n First equilibirium pdf (fEq) is calculated from pressure and velocity. Then non-equilibirium (fnEq) is calculated from strain rate. At last set the pdf of each element by sum up these two parts (fEq+fnEq).
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(mus_scheme_type), | intent(in) | :: | me | Scheme type |
||
type(treelmesh_type), | intent(in) | :: | tree | tree type |
||
type(mus_convertFac_type), | intent(in) | :: | fac | Global parameters |
||
character(len=*), | intent(in) | :: | scaling | scaling |
||
type(mus_field_type), | intent(inout) | :: | field | Field type |
||
integer, | intent(in) | :: | iField | Field index |
||
real(kind=rk), | intent(inout) | :: | state(:) | |||
integer, | intent(in) | :: | neigh(:) | Connectivity array |
||
integer, | intent(in) | :: | nElems | Number of local elements |
||
integer, | intent(in) | :: | nSize | number of elements as size |
||
integer, | intent(in) | :: | iLevel | Level index |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | private | :: | iDir | ||||
integer, | private | :: | iElem | ||||
real(kind=rk), | private, | allocatable | :: | fEq(:) | |||
real(kind=rk), | private, | allocatable | :: | fnEq(:) | |||
real(kind=rk), | private, | allocatable | :: | rho(:) | |||
real(kind=rk), | private, | allocatable | :: | xc(:,:) | |||
real(kind=rk), | private, | allocatable | :: | vel(:,:) | |||
real(kind=rk), | private, | allocatable | :: | Sxx(:,:) | |||
integer, | private | :: | iChunk | ||||
integer, | private | :: | nChunks | ||||
integer, | private | :: | chunkSize | ||||
integer, | private | :: | nChunkElems | ||||
integer, | private | :: | elemOff | ||||
integer, | private | :: | elemPos | ||||
integer, | private | :: | |||||
integer, | private | :: | offset | ||||
real(kind=rk), | private | :: | inv_p | ||||
real(kind=rk), | private | :: | inv_v | ||||
real(kind=rk), | private | :: | inv_s | ||||
integer, | private | :: | nScalars |