Please login with a confirmed email address before reporting spam
Posted:
7 years ago
Apr 5, 2018, 12:20 p.m. EDT
Updated:
7 years ago
Apr 5, 2018, 12:32 p.m. EDT
I came up with an idea that might work.
- In CAD, draw the bore diameter (diameter of the fluid body) bigger than the piston rings. In Comsol, use "form union" at the end of the geometry node. If the fluid body is bigger than the piston rings, Comsol won’t split the piston ring boundary surfaces (this alleviates the meshing problems of the rings). This should allow me to make a “swept mesh” on the piston rings thus reducing the degrees of freedom in the solid bodies while maintaining high quality solid mesh.
- In step 1 of my study, disable CFD. Solve for the deformed shape of the rings that fit within the bore. Use a "Moving Mesh" interface driven by the displacements of the rings so that it deforms the fluid mesh appropriately. Turn on Automatic remesh if needed.
- In step 2 of the study, the initial mesh is the solution of step 1. In step 2 of the study, use a "Deform Geometry" interface to shrink the diameter of the bore (fluid body diameter shrinks). Automatic remesh is necessary in this step because the fluid geometry/mesh will undergo large deformations; large deformations will greatly distort the mesh and automatic remesh is needed to maintain the fidelity of the elements. I need to better understand weak constraints of the boundary conditions in the “Deform Geometry” interface because I may need them to prevent transferring incorrect boundary conditions to later steps.
- In step 3 of the study, the initial mesh and geometry is the solution of step 2. Enable CFD, disable deform geometry, enable structural mechanics, enable moving mesh. Automatic remeshing will be needed as the gap between the fluid body the rings shrinks or grows. Try to maintain 4-6 elements through the thinnest part of the fluid body. Couple the structural mechanics and CFD. Ramp the inlet pressure and suppress backflow on the outlet. Plot the outlet flow vs. inlet pressure. The results of step 3 should meet my goal for this simulation.
I should make a simpler courser model to verify my steps and figure out the necessary solver settings in each step. This will allow me to iterate and understand the settings quickly. I won’t run the CFD in step 3 on the course model because convergence will probably be an issue. I will aim to keep the degrees of freedom at around 100,000-200,000 or less in the course model. This size of model solves in minutes in my experience. In the finer model, I will aim at 1,000,000-5,000,000 degrees of freedom for fidelity. This model will take hours to days to solve.
If you have any further suggestions, I welcome your comments.
-------------------
Jason Nicholson
I came up with an idea that might work.
1. In CAD, draw the bore diameter (diameter of the fluid body) bigger than the piston rings. In Comsol, use "form union" at the end of the geometry node. If the fluid body is bigger than the piston rings, Comsol won’t split the piston ring boundary surfaces (this alleviates the meshing problems of the rings). This should allow me to make a “swept mesh” on the piston rings thus reducing the degrees of freedom in the solid bodies while maintaining high quality solid mesh.
2. In step 1 of my study, disable CFD. Solve for the deformed shape of the rings that fit within the bore. Use a "Moving Mesh" interface driven by the displacements of the rings so that it deforms the fluid mesh appropriately. Turn on Automatic remesh if needed.
3. In step 2 of the study, the initial mesh is the solution of step 1. In step 2 of the study, use a "Deform Geometry" interface to shrink the diameter of the bore (fluid body diameter shrinks). Automatic remesh is necessary in this step because the fluid geometry/mesh will undergo large deformations; large deformations will greatly distort the mesh and automatic remesh is needed to maintain the fidelity of the elements. I need to better understand weak constraints of the boundary conditions in the “Deform Geometry” interface because I may need them to prevent transferring incorrect boundary conditions to later steps.
4. In step 3 of the study, the initial mesh and geometry is the solution of step 2. Enable CFD, disable deform geometry, enable structural mechanics, enable moving mesh. Automatic remeshing will be needed as the gap between the fluid body the rings shrinks or grows. Try to maintain 4-6 elements through the thinnest part of the fluid body. Couple the structural mechanics and CFD. Ramp the inlet pressure and suppress backflow on the outlet. Plot the outlet flow vs. inlet pressure. The results of step 3 should meet my goal for this simulation.
I should make a simpler courser model to verify my steps and figure out the necessary solver settings in each step. This will allow me to iterate and understand the settings quickly. I won’t run the CFD in step 3 on the course model because convergence will probably be an issue. I will aim to keep the degrees of freedom at around 100,000-200,000 or less in the course model. This size of model solves in minutes in my experience. In the finer model, I will aim at 1,000,000-5,000,000 degrees of freedom for fidelity. This model will take hours to days to solve.
If you have any further suggestions, I welcome your comments.