[swanmodel-users] Unstructured grid_Boundary conditions definition
Brought to you by:
mzijlema
|
From: Ahmad K. (Student) <ah...@ma...> - 2016-06-16 15:28:17
|
Dear All, I am using an unstructured grid generated by triangle, and I am facing a problem defining the boundary conditions. The solution is good if I use the SIDE command, but when I use SEGMENT the hole grid is messed up. I am defining boundary on one side using SEGMENT, and it seems like the boundary of those segments is leaking through all the other sides, and into the grid as well. That did not happen for structured grid. Any Suggestions? This is the SWAN file I am using: !*********************** HEADING **************************************** Project 'APR_Z_T Run' '1' SET CARTESIAN !********************* MODEL Input ************************************** MODE NONST TWOD CGRID UNSTRUC CIR 72 0.03 1 READ UNSTRUCTURED TRIANGLE '.\CGRID_Unstructured' INP BOT 0 0 0 20 10 1000 1000 READ BOT -1 '.\Inputs\Bathymetry.bot' INP WI 0 0 0 20 10 1000 1000 NONSTAT 20160425 1 HR 20160425.01 READ WI 1 SERI '.\Inputs\WInd\WindSeries.wndini' 1 !*********************** Boundary Conditions ******************************* BOU SEGM XY 000000 000000 000000 001000 VAR FILE 0 './Inputs/TPAR/TPARW001.par' BOU SEGM XY 000000 001000 000000 002000 VAR FILE 0 './Inputs/TPAR/TPARW002.par' BOU SEGM XY 000000 002000 000000 003000 VAR FILE 0 './Inputs/TPAR/TPARW003.par' BOU SEGM XY 000000 003000 000000 004000 VAR FILE 0 './Inputs/TPAR/TPARW004.par' BOU SEGM XY 000000 004000 000000 005000 VAR FILE 0 './Inputs/TPAR/TPARW005.par' BOU SEGM XY 000000 005000 000000 006000 VAR FILE 0 './Inputs/TPAR/TPARW006.par' BOU SEGM XY 000000 006000 000000 007000 VAR FILE 0 './Inputs/TPAR/TPARW007.par' BOU SEGM XY 000000 007000 000000 008000 VAR FILE 0 './Inputs/TPAR/TPARW008.par' BOU SEGM XY 000000 008000 000000 009000 VAR FILE 0 './Inputs/TPAR/TPARW009.par' BOU SEGM XY 000000 009000 000000 010000 VAR FILE 0 './Inputs/TPAR/TPARW010.par' INITial ZERO GEN3 KOMEN AGROW !********************* Numerics ************************************** PROP BSBT NUM STOPC NONSTAT 3 !*********************** OUTPUT REQUESTS ******************************* FRA 'FRA01' 0 0 0 20000 10000 20 10 BLO 'FRA01' NOHEAD '.\Outputs\H-sig.mat' LAY 3 HS 1 OUTPUT 20160425.000000 1 HR BLO 'FRA01' NOHEAD '.\Outputs\Dir.mat' LAY 3 DIR 1 OUTPUT 20160425.000000 1 HR BLO 'FRA01' NOHEAD '.\Outputs\TM01.mat' LAY 3 TM01 1 OUTPUT 20160425.000000 1 HR BLO 'FRA01' NOHEAD '.\Outputs\Wind.mat' LAY 3 WIND 1 OUTPUT 20160425.000000 1 HR BLO 'FRA01' NOHEAD '.\Outputs\BOT.mat' LAY 3 BOTL 1 !*********************** Computation ******************************* COMP NONST 20160425.000000 10 MI 20160425.010000 STOP With regards, Ahmad |