HOME
SOFTWARE
--- CFDStudio
--- ANSWER
Applications
Examples
ANSWER Express
Publications
Users
Price List
Request Demo
ANSWER Tutorials
ANSWER Manual
--- PORFLOW
--- TIDAL
--- RADM
--- TOOLS
DOWNLOADS
APPLICATIONS
CONSULTING
STORE
COMPANY
CONTACT
FAQ
 

ACRi -- Analytic & Computational Research, Inc.

 

1 2 3 4 5 6 7 8 9 10

CHAPTER U: UNSTRUCTURED HEXAGONAL GRID CASES

Shortcuts:


U.1 2D O grid with splits. Conduction.

U.2 2D Half Channel: laminar flow: No split cells: NSPCG. Inlet.

U.3 2D Half Channel: laminar flow: No split cells: NSPCG. Source.

U.4 2D Half Channel: Conduction: No split cells: NSPCG.

U.5 2D Half Channel: laminar flow: split cells: NSPCG. Inlet.

U.6 2D Half Channel: laminar flow: split cells: NSPCG. Source.

U.7 2D Half Channel: Conduction: split cells: NSPCG.

U.8 Driven Cavity with a blockage in it. Laminar Flow.


************************************************************************
TITLE U.1 2D O grid with splits. Conduction.
USER mmr
************************************************************************
GRID UNSTructured elements = 9
CONNectivity 'ansdu00.cnc'
CONNectivity SPLIt 'ansdu00.blk'
COORdinate X Y VERTices 'ansdu00.xyz'

SET T 0.0
BOUNdary LINEar T = 0.0 +1.0 * X

DIFFusion SECOnd order SKEW H

CONVergence REFErence GLOBal H 1.0E-10 5

SCREEN WIDE
MATRix SOR H

OUTPUT OFF
OUTPut TABLes T FF X
SOLVE H 200 STEPs STEADy mode

SET LINEar FF 0.0 +1.0 * X
SET LINEar FF 0.0 -1.0 * T ADD

SAVE T FF 'ansdu00.sav'
/
WRITE NBRS NFACE LINK VOLF VOLRF AF
WRITE VOL
END

-Back To Top


************************************************************************
TITLE U.2 2D Half Channel: laminar flow: No split cells: NSPCG. Inlet.
USER mmr
************************************************************************

GRID UNSTructured 25 elements
CONNectivity 'ansdu01.cnc'
COORdinate 'ansdu01.xyz'

INCLude 'ansdu01.loc'

INLET ID=XMINUS X-
OUTLET ID=XPLUS X-

SYMMetry ID=YPLUS X-
WALL ID=YMINUS X-

SET U 1.2
SET V 1.0E-08
SET P 1.0E-08

DENSity 1.5
VISCosity 0.1

BOUNdary U ID=XMINUS X- VALUE = 1.2

SCReen WIDE
DIAGnostic element 11 print U V P RU RP 'ansdu01.diag'
DEBUG GEOMetry OFF

RELAxation U 0.3 V 0.3 P 0.5

/MATRix SWEEps U 2 V 2 P 4
/CONVergence GLOBAl U 1.0E-06 REFErence
/CONVergence GLOBAl P 1.0E-06 5

MATRix NSPCg U V CHOLesky GMRES DiAGnostic SUMMary
and ELIMinate unnecessary equations.
MATRix NSPCg P CHOLesky CONJugate gradient.
MATRix NSPCg TOLErance 1.0E-10
MATRix NSPCg machine ZERO 1.0E-20
CONVergence GLOBAl U 1.0E-06 5 REFErence
CONVergence GLOBAl V 1.0E-06 5
CONVergence GLOBAl P 1.0E-06 20

!STATistics U 'ansdu01.stat'
!STATistics V 'ansdu01.stat'
!STATistics P 'ansdu01.stat'

OUTPUT OFF

SOLVE U V P STEADY 300 steps
/
WRITE NBRS
WRITE NFACE
WRITE LINK
WRITE VOLF
WRITE VOLRF
WRITE VOL
WRITE AF
WRITE FC
/
OUTPUT NOW TABLES U V P MTYP
SAVE NOW U V P 'ansdu01.sav'
END/

-Back To Top


************************************************************************
TITLE U.3 2D Half Channel: laminar flow: No split cells: NSPCG. Source.
USER mmr
************************************************************************

GRID UNSTructured 25 elements
CONNectivity 'ansdu01.cnc'
COORdinate 'ansdu01.xyz'

INCLude 'ansdu01.loc'

WALL ID=XMINUS X-
OUTLET ID=XPLUS X-

SYMMetry ID=YPLUS X-
WALL ID=YMINUS X-

SET U 1.0E-08
SET V 1.0E-08
SET P 1.0E-08

DENSity 1.5
VISCosity 0.1

SOURce MOMEntum ID=XMINUS X- AREA TOTAl mass_flow=0.9

SCREen WIDE
DIAGnostic element 11 print U V P RU RP 'ansdu01a.diag'
DEBUG GEOMetry OFF

RELAxation U 0.3 V 0.3 P 0.5

/MATRix SWEEps U 2 V 2 P 4
/CONVergence GLOBAl U 1.0E-06 REFErence
/CONVergence GLOBAl P 1.0E-06 5

MATRix NSPCg U V CHOLesky GMRES DiAGnostic SUMMary
and ELIMinate unnecessary equations.
MATRix NSPCg P CHOLesky CONJugate gradient.
CONVergence GLOBAl U 1.0E-06 5 REFErence
CONVergence GLOBAl V 1.0E-06 5
CONVergence GLOBAl P 1.0E-06 20

!STATistics U 'ansdu01a.stat'
!STATistics V 'ansdu01a.stat'
!STATistics P 'ansdu01a.stat'

OUTPUT OFF

SOLVE U V P STEADY 300 steps
OUTPUT NOW TABLES U V P MTYP
SAVE NOW U V P 'ansdu01a.sav'
END

-Back To Top


************************************************************************
TITLE U.4 2D Half Channel: Conduction: No split cells: NSPCG.
USER mmr
************************************************************************

GRID UNSTructured 25 elements
CONNectivity 'ansdu01.cnc'
COORdinate 'ansdu01.xyz'

INCLude 'ansdu01.loc'

SET T 1.2

DENSity 1.5
VISCosity 0.1
SPECIfic HEAT 1.8
PRANDL Number 0.71

BOUNdary T LINEar 0.1 +1.1 * X

SCREen WIDE
DIAGnostic element 11 print H RH 'ansdu01T.diag'
DEBUG GEOMetry OFF

/MATRix SWEEps H 3
/CONVergence GLOBAl H 1.0E-06 REFErence

MATRix NSPCg H CHOLesky GMRES DiAGnostic SUMMary
and ELIMinate unnecessary equations.
CONVergence GLOBAl H 1.0E-06 5 REFErence

!STATistics H 'ansdu01T.stat'

OUTPUT OFF
SOLVE H STEADY 300 steps

SET C LINEar 0.1 +1.1 * X

SET FF LINEar 0.1 +1.1 * X
SET FF LINEar 0.0 -1.0 * T ADD
/
OUTPUT NOW TABLES T C FF
SAVE NOW T C FF 'ansdu01T.sav'
END

-Back To Top


************************************************************************
TITLE U.5 2D Half Channel: laminar flow: split cells: NSPCG. Inlet.
USER mmr
************************************************************************

GRID UNSTructured 41 elements
CONNectivity 'ansdu02.cnc'
CONNectivity SPLIT 'ansdu02.blk'
COORdinate 'ansdu02.xyz'

INCLude 'ansdu02.loc'

INLET ID=XMINUSP X-
OUTLET ID=XPLUSP X-

SYMMetry ID=YPLUSP X-
WALL ID=YMINUSP X-

SET U 1.2
SET V 1.0E-08
SET P 1.0E-08

DENSity 1.5
VISCosity 0.1

BOUNdary U ID=XMINUSP X- VALUE = 1.2

SCREen WIDE
DIAGnostic element 25 print U V P RU RP 'ansdu02.diag'

RELAxation U 0.3 V 0.3 P 0.5

/MATRix SWEEps U 2 V 2 P 4
/CONVergence GLOBAl U 1.0E-06 REFErence
/CONVergence GLOBAl P 1.0E-06 5

MATRix NSPCg U V NEUMann GMRES DiAGnostic SUMMary
and ELIMinate unnecessary equations.
MATRix NSPCg P NEUMann CONJugate gradient.
MATRix NSPCg TOLErance 1.0E-10
MATRix NSPCg machine ZERO 1.0E-20
CONVergence GLOBAl U 1.0E-06 5 REFErence
CONVergence GLOBAl V 1.0E-06 5
CONVergence GLOBAl P 1.0E-06 20

!STATistics U 'ansdu02.stat'
!STATistics V 'ansdu02.stat'
!STATistics P 'ansdu02.stat'

OUTPUT OFF

SOLVE U V P STEADY 300 steps
/
WRITE NBRS
WRITE NFACE
WRITE LINK
WRITE VOLF
WRITE VOLRF
WRITE VOL
WRITE AF
WRITE FC
/
OUTPUT NOW TABLES U V P MTYP
SAVE NOW U V P 'ansdu02.sav'
END

-Back To Top


************************************************************************
TITLE U.6 2D Half Channel: laminar flow: split cells: NSPCG. Source.
USER mmr
************************************************************************

GRID UNSTructured 41 elements
CONNectivity 'ansdu02.cnc'
CONNectivity SPLIT 'ansdu02.blk'
COORdinate 'ansdu02.xyz'

INCLude 'ansdu02.loc'

WALL ID=XMINUSP X-
OUTLET ID=XPLUSP X-

SYMMetry ID=YPLUSP X-
WALL ID=YMINUSP X-

SET U 1.2
SET V 1.0E-08
SET P 1.0E-08

DENSity 1.5
VISCosity 0.1

SOURce MOMEntum ID=XMINUSP X- AREA TOTAl mass_flow=0.9

SCREen WIDE
DIAGnostic element 25 print U V P RU RP 'ansdu02a.diag'

RELAxation U 0.3 V 0.3 P 0.5

/MATRix SWEEps U 2 V 2 P 4
/CONVergence GLOBAl U 1.0E-06 REFErence
/CONVergence GLOBAl P 1.0E-06 5

MATRix NSPCg U V NEUMann GMRES DiAGnostic SUMMary
and ELIMinate unnecessary equations.
MATRix NSPCg P NEUMann CONJugate gradient.
CONVergence GLOBAl U 1.0E-06 5 REFErence
CONVergence GLOBAl V 1.0E-06 5
CONVergence GLOBAl P 1.0E-06 20

!STATistics U 'ansdu02a.stat'
!STATistics V 'ansdu02a.stat'
!STATistics P 'ansdu02a.stat'

OUTPUT OFF

SOLVE U V P STEADY 300 steps
OUTPUT NOW TABLES U V P MTYP
SAVE NOW U V P 'ansdu02a.sav'
END

-Back To Top


************************************************************************
TITLE U.7 2D Half Channel: Conduction: split cells: NSPCG.
USER mmr
************************************************************************

GRID UNSTructured 41 elements
CONNectivity 'ansdu02.cnc'
CONNectivity SPLIT 'ansdu02.blk'
COORdinate 'ansdu02.xyz'

INCLude 'ansdu02.loc'

SET T 1.2

DENSity 1.5
VISCosity 0.1
SPECIfic HEAT 1.8
PRANDL Number 0.71

BOUNdary T LINEar 0.1 +1.1 * X

DIFF SKEW H

SCREen WIDE
DIAGnostic element 25 print H RH 'ansdu02T.diag'

/MATRix SWEEps H 3
/CONVergence GLOBAl H 1.0E-06 REFErence

MATRix NSPCg H NEUMann GMRES DiAGnostic SUMMary
and ELIMinate unnecessary equations.
CONVergence GLOBAl H 1.0E-06 5 REFErence

!STATistics H 'ansdu02T.stat'

OUTPUT OFF
SOLVE H STEADY 300 steps

SET C LINEar 0.1 +1.1 * X

SET FF LINEar 0.1 +1.1 * X
SET FF LINEar 0.0 -1.0 * T ADD

OUTPUT NOW TABLES T C FF
SAVE NOW T C FF 'ansdu02T.sav'
END

-Back To Top


*************************************************************************
TITLE: U.8 Driven Cavity with a blockage in it. Laminar Flow.
USER mmr
*************************************************************************
GRID UNSTructured elements = 800
CONNectivity 'ansdu06.cnc'
COORdinate X Y VERTices 'ansdu06.xyz'

SET U 1.0E-09
SET V 1.0E-09
SET P 1.0E-09

WALLS default

LOCAte PAIR ID=TOPWAL
771,4 772,4 773,4 774,4 775,4 776,4 777,4 778,4 779,4 780,4
781,4 782,4 783,4 784,4 785,4 786,4 787,4 788,4 789,4 790,4
791,4 792,4 793,4 794,4 795,4 796,4 797,4 798,4 799,4 800,4

BOUNdary U VALUE = 1.0 ID=TOPWAL X-

LAMInar FLOW

DENSity 1.0
VISCosity 1.0E-02

RELAxation U 0.3 V 0.3 P 0.5

MATRix SWEEPs for U 3 V 3 P 4
CONVergence REFErence GLOBal U 1.0E-08
CONVergence GLOBal P 1.0E-08 5

SCREEN WIDE
DIAGnostic ELEMent 280 print RU,RV,RP,BP,U,V,P 'ansdu06.diag'
DEBUG GEOMetry OFF

OUTPUT OFF
OUTPUT TABLES U V P MTYP
SOLVE U V P 1000 STEPs STEADy mode
SAVE U V P 'ansdu06.sav'
END
/

-Back To Top

1 2 3 4 5 6 7 8 9 10

 

Back to ANSWER EXAMPLES DATABASE TOC

 

Related Links:

ANSWER Applications
ANSWER Examples
ANSWER Express
ANSWER Publications
ANSWER Users
ANSWER Price List
Request CFDStudio/ANSWER Demo
CFDStudio/ANSWER Tutorials
ANSWER Manual

 

HOME | SOFTWARE | DOWNLOADS | APPLICATIONS | CONSULTING | STORE | COMPANY

© 2015 ACRi