Skip to content
Snippets Groups Projects
Commit f2d3f05a authored by Maltez Cavalheiro Kévin's avatar Maltez Cavalheiro Kévin
Browse files

comment

parent a6a4d557
No related branches found
No related tags found
No related merge requests found
// Outside
Lx_out = 2.0;
Ly_out = 1.5;
nx_out = 40;
ny_out = 30;
nx_out = 80;
ny_out = 60;
phi_out = 100.;
// Hole 1
......@@ -10,8 +10,8 @@ Lx1 = 0.25;
Ly1 = 0.25;
cx1 = -0.5;
cy1 = 0.35;
nx1 = 8;
ny1 = 8;
nx1 = 16;
ny1 = 16;
phi1 = 215.;
// Hole 2
......@@ -19,8 +19,8 @@ Lx2 = 0.25;
Ly2 = 0.25;
cx2 = 0.5;
cy2 = -0.35;
nx2 = 8;
ny2 = 8;
nx2 = 16;
ny2 = 16;
phi2 = 250.;
// Outside
......@@ -80,9 +80,9 @@ Transfinite Curve {10} = nx2 + 1 Using Progression 1;
Transfinite Curve {11} = ny2 + 1 Using Progression 1;
Transfinite Curve {12} = nx2 + 1 Using Progression 1;
//Recombine Surface {1};
Recombine Surface {1};
//Mesh.ElementOrder = 2;
Mesh.ElementOrder = 2;
Physical Curve("outside", 5) = {1, 2, 3, 4};
Physical Curve("hole1", 6) = {5, 6, 7, 8};
......@@ -90,4 +90,4 @@ Physical Curve("hole2", 7) = {9, 10, 11, 12};
SetNumber("Boundary Conditions/outside/dirichlet", phi_out);
SetNumber("Boundary Conditions/hole1/dirichlet", phi1);
SetNumber("Boundary Conditions/hole2/dirichlet", phi2);
\ No newline at end of file
SetNumber("Boundary Conditions/hole2/dirichlet", phi2);
This diff is collapsed.
......@@ -51,7 +51,7 @@ Transfinite Curve {6} = nx_in + 1 Using Progression 1;
Transfinite Curve {7} = ny_in + 1 Using Progression 1;
Transfinite Curve {8} = nx_in + 1 Using Progression 1;
Recombine Surface {1};
//Recombine Surface {1};
Mesh.ElementOrder = 2;
......
......@@ -19,7 +19,7 @@ Transfinite Curve {3, 1} = n+1 Using Progression 1;
Transfinite Curve {4, 2} = n+1 Using Progression 1;
Transfinite Surface {1};
Recombine Surface {1}; // quads instead of triangles
//Recombine Surface {1}; // quads instead of triangles
//Mesh.ElementOrder = 2;
......@@ -32,4 +32,4 @@ Physical Curve("top_edge", 8) = {3};
SetNumber("Boundary Conditions/left_edge/dirichlet", phi_sides);
SetNumber("Boundary Conditions/bottom_edge/dirichlet", phi_bottom);
SetNumber("Boundary Conditions/right_edge/dirichlet", phi_sides);
SetNumber("Boundary Conditions/top_edge/neumann", 0.);
\ No newline at end of file
SetNumber("Boundary Conditions/top_edge/neumann", 0.);
......@@ -42,7 +42,7 @@ Transfinite Curve {6} = n_trans_inlet + 1 Using Progression 1;
Transfinite Curve {7} = n_long_inlet + 1 Using Progression 1;
Transfinite Curve {8} = n_trans_outlet + 1 Using Progression 1;
Recombine Surface {1};
//Recombine Surface {1};
Mesh.ElementOrder = 2;
......@@ -52,4 +52,4 @@ Physical Curve("outlet", 7) = {6};
SetNumber("Boundary Conditions/sides/neumann", 0.);
SetNumber("Boundary Conditions/inlet/dirichlet", phi_inlet);
SetNumber("Boundary Conditions/outlet/dirichlet", phi_outlet);
\ No newline at end of file
SetNumber("Boundary Conditions/outlet/dirichlet", phi_outlet);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment