convert mesh to meters, more coefficients
This commit is contained in:
parent
6039802b9f
commit
2c4e8ea79c
8 changed files with 33016 additions and 32624 deletions
|
|
@ -2,12 +2,12 @@
|
|||
clear all
|
||||
clc
|
||||
|
||||
diam_bottom = 50.0;
|
||||
diam_top = 83.0;
|
||||
wall_thickness = 3.0;
|
||||
bottom_thickness = 6.0;
|
||||
top_level = 105.0;
|
||||
fluid_level = 66.0;
|
||||
diam_bottom = 0.05;
|
||||
diam_top = 0.083;
|
||||
wall_thickness = 0.003;
|
||||
bottom_thickness = 0.006;
|
||||
top_level = 0.105;
|
||||
fluid_level = 0.066;
|
||||
floor_level = 0.0;
|
||||
|
||||
inner_diam = @(height) diam_bottom - 2*wall_thickness + (diam_top - diam_bottom)/(top_level - bottom_thickness)*(height - bottom_thickness);
|
||||
|
|
@ -34,7 +34,7 @@ g=[2 -diam_bottom/2 diam_bottom/2 floor_level floor_level 1 0; % #vert
|
|||
]';
|
||||
|
||||
|
||||
[p,e,t] = initmesh(g,'hmax',1.5);
|
||||
[p,e,t] = initmesh(g,'hmax',0.0015);
|
||||
pdemesh(p,e,t)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue