CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[snappyHexMesh] 6.5 Creedmoor Exterior ballistic Mesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 15, 2024, 11:51
Default 6.5 Creedmoor Exterior ballistic Mesh
  #1
New Member
 
Annoy Yu
Join Date: Apr 2024
Location: West Chester, Pa
Posts: 1
Rep Power: 0
CFD padawan is on a distinguished road
Hello Everyone,

Currently, I'm working on exterior ballistics and have developed access to a 6DOF ballistic calculator. To make the calculator operational, various coefficients at different velocities are required. Presently, I'm endeavoring to create a model to determine these coefficients for the 6.5 Creedmoor. This involves considering a MRF along with projectile geometry. The projectile spins at approximately 242,000 rpm.

Now, to the main issue: I'm utilizing snappyHexMesh for mesh generation, but I'm encountering difficulties achieving a smooth surface over the projectile. Please refer to the attached image illustrating the mesh domain cross-section. As I'm relatively new to Computational Fluid Dynamics (CFD), I appreciate your patience.

Any recommendations for sources (books, websites, etc.) or instructions would be highly valued.

Best regards,
D
P.S. snappyMeshDict is below

/*--------------------------------*- C++ -*----------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 7
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object snappyHexMeshDict;
}

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

castellatedMesh true;
snap true;
addLayers false;

geometry
{
projectile
{
type triSurfaceMesh;
file "projectile_m.stl";
}
inlet
{
type triSurfaceMesh;
file "inlet_m.stl";
}
outlet
{
type triSurfaceMesh;
file "outlet_m.stl";
}
boundary
{
type triSurfaceMesh;
file "boundary_m.stl";
}

//- Used to define MRF zone and to refine mesh round the impeller
MRF
{
type searchableCylinder;
point1 (.076 0.0 0.0);
point2 (.130 0.0 0.0);
radius .004;
}
}


castellatedMeshControls
{

maxLocalCells 100000;

maxGlobalCells 2000000;

minRefinementCells 0;

nCellsBetweenLevels 2;

maxLoadUnbalance 0.10;

resolveFeatureAngle 1;
planarAngle 1;

features
(
{
file "projectile_m.eMesh";
level 7;
}

{
file "inlet_m.eMesh";
level 0;
}
{
file "outlet_m.eMesh";
level 0;
}
{
file "boundary_m.eMesh";
level 0;
}
);

refinementSurfaces
{
MRF
{
level (1 1);
cellZone cellMRFzone;
faceZone faceMRFzone;
cellZoneInside inside;
}

projectile
{
level (5 6);
}

inlet
{
level (0 0);
}

outlet
{
level (0 0);
}

boundary
{
level (0 0);
}
}

refinementRegions
{
MRF
{
mode inside;
levels ((1E15 4));
}

}

locationInMesh (0.080 0.0 0.0); // Inside point

allowFreeStandingZoneFaces true;
}

// Settings for the snapping.
snapControls
{

nSmoothPatch 3;

tolerance 1.0;

nSolveIter 300;

nRelaxIter 50;

nFeatureSnapIter 10;

implicitFeatureSnap false;

explicitFeatureSnap true;

multiRegionFeatureSnap false;
}

// Settings for the layer addition.
addLayersControls
{

relativeSizes true;

layers
{
}

}

meshQualityControls
{
#include "meshQualityDict"

// Advanced

//- Number of error distribution iterations
nSmoothScale 4;
//- Amount to scale back displacement at error points
errorReduction 0.75;
}

writeFlags
(
);

mergeTolerance 1E-6;


// ************************************************** *********************** //
Attached Images
File Type: jpg 6.5 CM mid plane mesh.jpg (115.1 KB, 6 views)
File Type: jpg 6.5 CM mid plat taper profile mesh.jpg (73.5 KB, 7 views)
File Type: jpg 6.5 CM mid plane Taper Area Mesh.jpg (196.0 KB, 6 views)
CFD padawan is offline   Reply With Quote

Reply

Tags
exterior ballistic, projectile, snappyhexmesh 3d


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
sliding mesh problem in CFX Saima CFX 46 September 11, 2021 08:38
[snappyHexMesh] High quality mesh for wind in complex urban environment ziboaa OpenFOAM Meshing & Mesh Conversion 1 January 12, 2021 16:33
[ICEM] Bad Quality Hybrid Mesh External Flow tim13 ANSYS Meshing & Geometry 0 March 8, 2020 03:22
Star CCM Overset Mesh Error (Rotating Turbine) thezack Siemens 7 October 12, 2016 12:14
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Meshing & Mesh Conversion 2 March 27, 2011 22:11


All times are GMT -4. The time now is 14:08.