67 TYPE(t_region
),
POINTER :: pregion
73 CHARACTER(CHRLEN+9) :: fname
74 CHARACTER(256) ::
line
76 INTEGER :: errorflag,loopcounter
84 global => pregion%global
87 'RFLU_ReadTbcInputFile.F90' )
93 WRITE(fname,
'(A)') trim(global%inDir)//trim(global%casename)//
'.bc'
94 OPEN(if_input,file=fname,
form=
'formatted',
status=
'old',iostat=errorflag)
95 global%error = errorflag
96 IF (global%error /= 0) &
97 CALL
errorstop( global,err_file_open,__line__,
'File: '//trim(fname) )
104 READ(if_input,
'(A256)',err=10)
line
106 SELECT CASE( trim(
line) )
108 CASE (
'# TBC_PIECEWISE')
111 CASE (
'# TBC_SINUSOIDAL')
114 CASE (
'# TBC_STOCHASTIC')
117 CASE (
'# TBC_WHITENOISE')
124 loopcounter = loopcounter + 1
125 IF ( loopcounter >= limit_infinite_loop )
THEN
126 CALL
errorstop(global,err_infinite_loop ,__line__)
132 CLOSE(if_input,iostat=errorflag)
133 global%error = errorflag
134 IF (global%error /= 0)
THEN
135 CALL
errorstop(global,err_file_close,__line__,
'File: '//trim(fname))
145 CALL
errorstop(global,err_file_read,__line__,
'File: '//trim(fname))
149 IF ( global%myProcid == masterproc .AND. &
150 global%verbLevel >= verbose_high )
THEN
151 WRITE(stdout,
'(A,1X,A)') solver_name,
'Reading Rocflu time-dependent '// &
152 'boundary condition file done.'
CImg< T > & line(const unsigned int y0)
Get a line.
subroutine registerfunction(global, funName, fileName)
int status() const
Obtain the status of the attribute.
**********************************************************************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 form
subroutine rflu_readtbcsection(pRegion, tbcType)
subroutine errorstop(global, errorCode, errorLine, addMessage)
subroutine deregisterfunction(global)