Comments (17)
from oceanmesh2d.
Interesting, I guess we only tested the result of the smooth edgefx in detail. I'll test your example out.
from oceanmesh2d.
Yea the outer box doesn't get the correct initial points especially near the inner nest even despite its sizing function having this variation in it.
from oceanmesh2d.
It does work if you do enough iterations. There was a bug in dpoly #119 btw that caused it to crash when it did more iterations. At 10 iterations it does the delete close points and starts to work.
from oceanmesh2d.
Yea but that’s relying on the mesh adaptation. Shouldn’t the initial point distribution follow the variations in the sizing function?
from oceanmesh2d.
We should create several of these tests.
from oceanmesh2d.
Yea the outer box doesn't get the correct initial points especially near the inner nest even despite its sizing function having this variation in it.
Hmm yeah I see it should delete some of them initially based on the edgefx. I'll take a look at this too.
from oceanmesh2d.
Yea the outer box doesn't get the correct initial points especially near the inner nest even despite its sizing function having this variation in it.
Hmm yeah I see it should delete some of them initially based on the edgefx. I'll take a look at this too.
Oh now I get it. Yeah so the h0 of the outer is larger than the edgefx value in the smoothed region so it can't be distributed more finely.
from oceanmesh2d.
Yea so then the h0 should be determined after smooth outer is called ay
from oceanmesh2d.
Yeah if I re-update the h0 for the outer to be equal to the minimum of the ef then I get this:
from oceanmesh2d.
Yea and what happens if you shrink the inner grade?
from oceanmesh2d.
That wouldn't affect anything, the grade would go by the outer one
from oceanmesh2d.
Shouldn't it go by the minimum grade?
from oceanmesh2d.
In theory we could enforce variable grade only in their respective boxes
from oceanmesh2d.
Okay, so I make the initial point formation/rejection use the minimum of all h0
disp([' for box #' num2str(box_num)]);
% checking if cell or not and applying local values
h0_l = min(obj.h0);
max_r0 = 1/h0_l^2;
That wouldn't affect anything, the grade would go by the outer one
And my my observations contradict this.
- Inner box grade set to 0.15 (outer box grade 0.15)
- Inner box grade set to 0.05 (outer box grade 0.15)
.
from oceanmesh2d.
^ This result is also not because the initial point distribution is correct either. The periodic mesh improvement causes it to smooth out.
from oceanmesh2d.
Nevermind I got it. I'll add it to the dpoly_patch PR
from oceanmesh2d.
Related Issues (20)
- extra lines in fort.15 file! HOT 7
- make animation for fort.63.nc HOT 10
- meshgen.build Exiting early HOT 2
- Infinite loop when cleanup the mesh HOT 6
- Issue with using dynamic water level correction HOT 11
- Need for rapid changes in grid resolution HOT 4
- Issues with refining mesh in channels HOT 2
- Problem making fort.15 file for ADCIRC model in OceanMesh2D HOT 2
- Problem creating fort.13 file for ADCIRC model in OceanMesh2D HOT 3
- startup.sh HOT 2
- Issue regarding input files of ADCIRC model HOT 2
- How to specify the wind control and wind timestep parameters in Make_f15 function of OceanMesh2D? HOT 1
- How to make the fort.22 file for ADCIRC model? HOT 2
- Re-meshing patches function
- How to make a fort.15 file for NWS = 30 Blended GAHM & Background Gridded Wind and Pressure?
- Number of nodes and element change HOT 2
- Mesh dense changes significantly HOT 3
- A technique to improve quality of elements on the boundary HOT 2
- improve the elements quality HOT 2
- Plotting bathymetry for Example_8_AK HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oceanmesh2d.