Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions Source/dump.f90
Original file line number Diff line number Diff line change
Expand Up @@ -2349,10 +2349,6 @@ SUBROUTINE WRITE_SMOKEVIEW_FILE
ENDIF
ENDIF

! Render GEOM vents using SURF properties (that is, do not draw GEOM vents in Smokeview)

IF (VT%GEOM) VT%TYPE_INDICATOR = -2

ENDDO VENT_LOOP

! Look for interpolated mesh boundaries and ensure that Smokeview leaves these blank (VENT_INDICES=-1).
Expand Down
20 changes: 4 additions & 16 deletions Source/read.f90
Original file line number Diff line number Diff line change
Expand Up @@ -12143,10 +12143,6 @@ SUBROUTINE READ_VENT
IF (BLOCKED) REJECT_VENT = .TRUE.
ENDIF

! If the VENT is on a GEOM do not reject (further setup in READ_GEOM)

IF (GEOM .AND. .NOT.(TERRAIN_CASE .AND. ALL(XB(1:6)>-1.01E6_EB))) REJECT_VENT = .FALSE.

! If the VENT is rejected, cycle

IF (REJECT_VENT) THEN
Expand Down Expand Up @@ -12452,7 +12448,7 @@ SUBROUTINE READ_VENT
ENDDO
ENDIF

IF (VT%IOR==0 .AND. .NOT. VT%GEOM) THEN
IF (VT%IOR==0) THEN
WRITE(MESSAGE,'(3A)') 'ERROR(818): VENT ',TRIM(VT%ID),' requires an orientation index, IOR.'
CALL SHUTDOWN(MESSAGE,PROCESS_0_ONLY=.FALSE.) ; RETURN
ENDIF
Expand Down Expand Up @@ -12500,17 +12496,9 @@ SUBROUTINE READ_VENT

! Check UVW

IF (.NOT.VT%GEOM) THEN
IF (ABS(VT%UVW(ABS(VT%IOR))) < TWO_EPSILON_EB) THEN
WRITE(MESSAGE,'(3A)') 'ERROR(821): VENT ',TRIM(VT%ID),' cannot have normal component of UVW equal to 0.'
CALL SHUTDOWN(MESSAGE,PROCESS_0_ONLY=.FALSE.) ; RETURN
ENDIF
ENDIF

! Special treatment for coloring GEOM surface with HVAC_BOUNDARY

IF (VT%GEOM .AND. VT%BOUNDARY_TYPE==HVAC_BOUNDARY) THEN
SURFACE(VT%SURF_INDEX)%RGB = (/0,128,0/) ! green
IF (ABS(VT%UVW(ABS(VT%IOR))) < TWO_EPSILON_EB) THEN
WRITE(MESSAGE,'(3A)') 'ERROR(821): VENT ',TRIM(VT%ID),' cannot have normal component of UVW equal to 0.'
CALL SHUTDOWN(MESSAGE,PROCESS_0_ONLY=.FALSE.) ; RETURN
ENDIF

ENDDO VENT_LOOP_2
Expand Down
Loading