dimensions of cavity
Title
Question
Q 1)
for a square cavity
blocks
(
hex (0 1 2 3 4 5 6 7) (20 20 1) simpleGrading (1 1 1)
);
Mesh size 20x20 then n= 20,
suppose
blocks
(
hex (0 1 2 3 4 5 6 7) (40 20 1) simpleGrading (1 1 1)
);
mesh size = 40x 20, then how to take n = ?
Q2)
i want a parallel plate with length = 10 ft, breadth = 1 ft.
convertToMeters 1;
vertices
(
(0 0 0)
(10 0 0)
(10 1 0)
(0 1 0)
(0 0 0.01)
(10 0 0.01)
(10 1 0.01)
(0 1 0.01)
);
Is it write sir ?
for a square cavity
blocks
(
hex (0 1 2 3 4 5 6 7) (20 20 1) simpleGrading (1 1 1)
);
Mesh size 20x20 then n= 20,
suppose
blocks
(
hex (0 1 2 3 4 5 6 7) (40 20 1) simpleGrading (1 1 1)
);
mesh size = 40x 20, then how to take n = ?
Q2)
i want a parallel plate with length = 10 ft, breadth = 1 ft.
convertToMeters 1;
vertices
(
(0 0 0)
(10 0 0)
(10 1 0)
(0 1 0)
(0 0 0.01)
(10 0 0.01)
(10 1 0.01)
(0 1 0.01)
);
Is it write sir ?
OpenFOAM Simulating-flow-in-a-Lid-Driven-Cavity 08-09 min 20-30 sec
Answers:
You want your geometry in feet, in blockMeshDict every dimension is taken in meters by default. So adjust your conversion factor accordingly.
40x20 is the number of grid points in the x and y direction. You can change the mesh and do a mesh independence study to find which mesh gives you the best result.
Regards
Login to add comment