how to use seagrid to Locally Add Mesh Density
how to use seagrid to Locally Add Mesh Density
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 (27.34 KiB) Viewed 9027 times
Re: how to use seagrid to Locally Add Mesh Density
It can add grid density but not lik unstructure trigrid because of structure orthogonality .
Re: how to use seagrid to Locally Add Mesh Density
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.
Re: how to use seagrid to Locally Add Mesh Density
Hi vviocean,
you may want to try Delft3D to generate the grid. Someone posted that topic.
you may want to try Delft3D to generate the grid. Someone posted that topic.
-
- Posts: 81
- Joined: Thu Dec 07, 2006 3:14 pm
- Location: USGS
- Contact:
Re: how to use seagrid to Locally Add Mesh Density
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
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
Re: how to use seagrid to Locally Add Mesh Density
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
Re: how to use seagrid to Locally Add Mesh Density
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
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
Re: how to use seagrid to Locally Add Mesh Density
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
[*]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