68 INTEGER,
PARAMETER :: nvals_max = 13
71 INTEGER,
PARAMETER :: nvals_max = 7
74 LOGICAL :: defined(nvals_max)
75 CHARACTER(10) :: keys(nvals_max)
77 REAL(RFREAL) :: vals(nvals_max)
84 'ReadForcesSection.F90' )
94 keys(2) =
'AEROCOEFFS'
100 keys(8) =
'BNDBOXXMIN'
101 keys(9) =
'BNDBOXXMAX'
102 keys(10) =
'BNDBOXYMIN'
103 keys(11) =
'BNDBOXYMAX'
104 keys(12) =
'BNDBOXZMIN'
105 keys(13) =
'BNDBOXZMAX'
112 keys(2) =
'REFLENGTH'
114 keys(4) =
'REFXCOORD'
115 keys(5) =
'REFYCOORD'
116 keys(6) =
'REFZCOORD'
117 keys(7) =
'PATCHFLAG'
127 IF (defined(1).eqv..true.)
THEN
128 global%forcesOn = forces_none
129 IF (vals(1)>0.9 .AND. vals(1)<1.1) global%forcesOn = forces_press
130 IF (vals(1) > 1.9) global%forcesOn = forces_visc
133 IF (defined(2).eqv..true.)
THEN
134 global%aeroCoeffs = off
135 IF (vals(1)>0.9) global%aeroCoeffs = active
138 IF (defined(3).eqv..true.)
THEN
139 global%forceRefLength = vals(3)
142 IF (defined(4).eqv..true.)
THEN
143 global%forceRefArea = vals(4)
146 IF (defined(5).eqv..true.)
THEN
147 global%forceRefXCoord = vals(5)
150 IF (defined(6).eqv..true.)
THEN
151 global%forceRefYCoord = vals(6)
154 IF (defined(7).eqv..true.)
THEN
155 global%forceRefZCoord = vals(7)
158 IF (defined(8).eqv..true.)
THEN
159 global%acBndBoxXmin = vals(8)
162 IF (defined(9).eqv..true.)
THEN
163 global%acBndBoxXmax = vals(9)
166 IF (defined(10).eqv..true.)
THEN
167 global%acBndBoxYmin = vals(10)
170 IF (defined(11).eqv..true.)
THEN
171 global%acBndBoxYmax = vals(11)
174 IF (defined(12).eqv..true.)
THEN
175 global%acBndBoxZmin = vals(12)
178 IF (defined(13).eqv..true.)
THEN
179 global%acBndBoxZmax = vals(13)
184 IF ( defined(1) .EQV. .true. )
THEN
185 IF ( nint(vals(1)) == 1 )
THEN
186 global%forceFlag = .true.
188 global%forceFlag = .false.
192 IF ( defined(2) .EQV. .true. )
THEN
193 global%forceRefLength = vals(2)
196 IF ( defined(3) .EQV. .true. )
THEN
197 global%forceRefArea = vals(3)
200 IF ( defined(4) .EQV. .true. )
THEN
201 global%forceRefXCoord = vals(4)
204 IF ( defined(5) .EQV. .true. )
THEN
205 global%forceRefYCoord = vals(5)
208 IF ( defined(6) .EQV. .true. )
THEN
209 global%forceRefZCoord = vals(6)
212 IF ( defined(7) .EQV. .true. )
THEN
213 IF ( nint(vals(1)) == 1 )
THEN
214 global%patchCoeffFlag = .true.
216 global%patchCoeffFlag = .false.
subroutine registerfunction(global, funName, fileName)
subroutine readsection(global, fileID, nvals, keys, vals, defined)
**********************************************************************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 USE ModDataTypes USE nvals
subroutine readforcessection(global)
subroutine deregisterfunction(global)