59 CHARACTER(CHRLEN) :: wins, winv
60 TYPE(t_region
),
POINTER :: regions(:)
67 CHARACTER(CHRLEN),
POINTER :: statnm(:,:,:)
70 INTEGER :: ilev, ibc, iec, pid, errorflag, ilb
77 global => regions(1)%global
80 'TURB_InitGenxInterface.F90' )
86 CALL com_new_attribute( trim(winv)//
'.esg1Sum' ,
'w',com_double,1,
'J/(m^3s)' )
87 CALL com_new_attribute( trim(winv)//
'.esg4Sum' ,
'w',com_double,1,
'J/(m^3s)' )
93 CALL com_new_attribute( trim(winv)//
'.mut' ,
'e',com_double,1,
'kg/(ms)' )
94 CALL com_new_attribute( trim(winv)//
'.lens',
'e',com_double,1,
'm' )
95 CALL com_new_attribute( trim(winv)//
'.vort',
'e',com_double,3,
'1/s' )
100 IF ((global%flowType == flow_unsteady) .AND. (global%doStat == active))
THEN
101 IF (global%turbNStat > 0)
THEN
102 statnm => global%turbStatNm
103 DO istat=1,global%turbNStat
105 CALL com_new_attribute( trim(winv)//
'.'//trim(statnm(1,1,istat)),
'e', &
106 com_double,1,trim(statnm(1,2,istat)) )
116 CALL com_set_array( trim(winv)//
'.esg1Sum' ,0, global%esg1Sum )
117 CALL com_set_array( trim(winv)//
'.esg4Sum' ,0, global%esg4Sum )
119 DO ireg=1,global%nRegions
120 IF (regions(ireg)%procid==global%myProcid .AND. &
121 regions(ireg)%active==active)
THEN
123 ilev = regions(ireg)%currLevel
135 IF (regions(ireg)%turbInput%modelClass /= model_rans)
THEN
136 ALLOCATE( regions(ireg)%levels(ilev)%turb%lens(ibc:iec), &
138 global%error = errorflag
139 IF (global%error /= 0) CALL
errorstop( global,err_allocate,__line__ )
141 IF (regions(ireg)%mixtInput%turbModel == turb_model_none)
THEN
142 ALLOCATE( regions(ireg)%levels(ilev)%turb%vort(3,ibc:iec), &
144 global%error = errorflag
145 IF (global%error /= 0) CALL
errorstop( global,err_allocate,__line__ )
148 regions(ireg)%levels(ilev)%mixt%tv = 0._rfreal
149 regions(ireg)%levels(ilev)%turb%lens = 0._rfreal
150 regions(ireg)%levels(ilev)%turb%vort = 0._rfreal
152 ilb = lbound(regions(ireg)%levels(ilev)%mixt%tv,2)
154 CALL com_set_array( trim(winv)//
'.lens' ,pid, &
155 regions(ireg)%levels(ilev)%turb%lens )
157 CALL com_set_array( trim(winv)//
'.mut',pid, &
158 regions(ireg)%levels(ilev)%mixt%tv(3,ilb),4)
160 CALL com_set_array( trim(winv)//
'.vort',pid, &
161 regions(ireg)%levels(ilev)%turb%vort(1,ilb))
166 IF ((global%flowType==flow_unsteady) .AND. (global%doStat==active))
THEN
167 IF (global%turbNStat > 0)
THEN
168 DO istat=1,global%turbNStat
169 CALL com_set_array( trim(winv)//
'.'//trim(statnm(1,1,istat)), pid, &
170 regions(ireg)%levels(ilev)%turb%tav(istat,ilb), global%turbNStat)
**********************************************************************Rocstar Simulation Suite Illinois Rocstar LLC All rights reserved ****Illinois Rocstar LLC IL **www illinoisrocstar com **sales illinoisrocstar com WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **Arising OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE **********************************************************************INTERFACE SUBROUTINE idcend
subroutine registerfunction(global, funName, fileName)
subroutine rflo_getdimensdummy(region, iLev, idcbeg, idcend, jdcbeg, jdcend, kdcbeg, kdcend)
subroutine turb_initgenxinterface(regions, wins, winv)
**********************************************************************Rocstar Simulation Suite Illinois Rocstar LLC All rights reserved ****Illinois Rocstar LLC IL **www illinoisrocstar com **sales illinoisrocstar com WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **Arising OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE **********************************************************************INTERFACE SUBROUTINE kdcbeg
subroutine rflo_getcelloffset(region, iLev, iCellOffset, ijCellOffset)
**********************************************************************Rocstar Simulation Suite Illinois Rocstar LLC All rights reserved ****Illinois Rocstar LLC IL **www illinoisrocstar com **sales illinoisrocstar com WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **Arising OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE **********************************************************************INTERFACE SUBROUTINE idcbeg
**********************************************************************Rocstar Simulation Suite Illinois Rocstar LLC All rights reserved ****Illinois Rocstar LLC IL **www illinoisrocstar com **sales illinoisrocstar com WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **Arising OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE **********************************************************************INTERFACE SUBROUTINE jdcend
**********************************************************************Rocstar Simulation Suite Illinois Rocstar LLC All rights reserved ****Illinois Rocstar LLC IL **www illinoisrocstar com **sales illinoisrocstar com WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **Arising OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE **********************************************************************INTERFACE SUBROUTINE jdcbeg
subroutine errorstop(global, errorCode, errorLine, addMessage)
subroutine deregisterfunction(global)