how to use seagrid to Locally Add Mesh Density

Discussion about analysis, visualization, and collaboration tools and techniques

Moderators: arango, robertson

Post Reply
Message
Author
viviocean
Posts: 10
Joined: Mon Jul 21, 2008 1:45 pm
Location: OUC

how to use seagrid to Locally Add Mesh Density

#1 Post by viviocean » Wed Sep 12, 2012 2:03 am

hi everybody, I learn how to make grid that Locally Add Mesh Density in Qingdao bathing beach which is noted in red ellipse. when I move the spacer to close the bathing beach, only the line near the boundary move, not the whole line close to Qingdao bathing beach, and the result is post. did anybody counter this phenonmena. how to deal with it? Or any other method to Locally Add Mesh Density in this place
Attachments
qd.png
qd.png (27.34 KiB) Viewed 2911 times

zycao

Re: how to use seagrid to Locally Add Mesh Density

#2 Post by zycao » Thu Sep 13, 2012 12:58 am

It can add grid density but not lik unstructure trigrid because of structure orthogonality .

rsignell
Posts: 123
Joined: Fri Apr 25, 2003 9:22 pm
Location: USGS

Re: how to use seagrid to Locally Add Mesh Density

#3 Post by rsignell » Fri Sep 14, 2012 12:01 pm

With the large domain you are showing and with your target being a beach, I think you will need to take a nesting approach -- trying to use a single stretched curvilinear grid will not give you the resolution you want near the beach without creating high resolution in areas outside the area of interest -- resulting in huge inefficiency.

LiuZHQ
Posts: 45
Joined: Mon Apr 06, 2009 5:12 pm
Location: The Hong Kong University of Sci&Tech

Re: how to use seagrid to Locally Add Mesh Density

#4 Post by LiuZHQ » Sat Sep 15, 2012 3:53 am

Hi vviocean,

you may want to try Delft3D to generate the grid. Someone posted that topic.

nacholibre
Posts: 81
Joined: Thu Dec 07, 2006 3:14 pm
Location: USGS
Contact:

Re: how to use seagrid to Locally Add Mesh Density

#5 Post by nacholibre » Sun Nov 18, 2012 5:58 am

viviocean,
In order to do the stretching properly in Seagrid you will need to build the correct mex files for your system and add the folder that contains them to your Matlab path. Alternatively you can also look at the mex_matlabXX_winXX folders under the Seagrid folder to see if there is a version that matches with the your Matlab and Windows versions. If you don't see an exact match you can try the closest one. If you get it to work correctly, the lines in your grid will stay orthogonal when you move the spacers (i.e. they will have more or less 90-degree angles at the corners). More detailed information is availalble at the Readme.txt under these folders.
Good luck!
Zafer

thisara
Posts: 3
Joined: Mon Apr 08, 2013 12:29 pm
Location: The University of Western Australia

Re: how to use seagrid to Locally Add Mesh Density

#6 Post by thisara » Fri Nov 29, 2013 9:44 am

nacholibre wrote:viviocean,
In order to do the stretching properly in Seagrid you will need to build the correct mex files for your system and add the folder that contains them to your Matlab path. Alternatively you can also look at the mex_matlabXX_winXX folders under the Seagrid folder to see if there is a version that matches with the your Matlab and Windows versions. If you don't see an exact match you can try the closest one. If you get it to work correctly, the lines in your grid will stay orthogonal when you move the spacers (i.e. they will have more or less 90-degree angles at the corners). More detailed information is availalble at the Readme.txt under these folders.
Good luck!
Zafer

thisara
Posts: 3
Joined: Mon Apr 08, 2013 12:29 pm
Location: The University of Western Australia

Re: how to use seagrid to Locally Add Mesh Density

#7 Post by thisara » Fri Nov 29, 2013 11:22 am

Hi,
I am new to the ROMS.
I am still learning how to create grid using seagrid. I have no problem up to the adding spacers. I could add spacers but they don't stretch the grid by dragging them along the boundaries. Can't figure out why.
I am working on Ubuntu 12.04 platform with Matlab R2012a
Please help.
thanks

thisara
Posts: 3
Joined: Mon Apr 08, 2013 12:29 pm
Location: The University of Western Australia

Re: how to use seagrid to Locally Add Mesh Density

#8 Post by thisara » Sun Dec 15, 2013 3:31 am

I have fixed the problem. I used the seagrid from ROMS matlab repository rather cmgsoft link under woodshole.
[*]Mexnc and SNC tools were not required for MatlabR2012b.
[*]I used TortoiseSVN version 1.7.0, which worked fine with Windows-64bit. (http://sourceforge.net/projects/tortoisesvn/files/)

Thanks

Post Reply