View Issue Details

IDProjectCategoryView StatusLast Update
0004197OpenFOAMBugpublic2025-01-02 18:05
Reporterblocksgearing0d Assigned Toadministrator  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionsuspended 
PlatformGNU/LinuxOSRHELOS Version9.4
Product Versiondev 
Summary0004197: extrudeMesh writes to constant/polyMesh when using mesh option
DescriptionWhen using mesh option the extrudeMesh utility reads from constant/meshes/<time>/polyMesh but writes to constant/polyMesh
Steps To Reproduce1. Generate meshes in $FOAM_TUTORIALS/shockFluid/movingCone/
2. Add the provided extrudeMeshDict to system/
3. Rename or delete constant/polyMesh/
4. Run the extrudeMesh utility, e.g. for 1e-05
$ extrudeMesh -dict system/extrudeMeshDict -mesh 1e-05
5. Check that constant/polyMesh/ was created again and constant/meshes/1e-05/polyMesh/ was not changed.
TagsNo tags attached.

Activities

blocksgearing0d

2025-01-02 16:39

reporter  

extrudeMeshDict (936 bytes)   
/*--------------------------------*- C++ -*----------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Website:  https://openfoam.org
    \\  /    A nd           | Version:  dev
     \\/     M anipulation  |
\*---------------------------------------------------------------------------*/
FoamFile
{
    format      ascii;
    class       dictionary;
    location    "system";
    object      extrudeMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

constructFrom   patch;

sourceCase      ".";

sourcePatches   ( front );

exposedPatchName back;

flipNormals     true;

nLayers         1;

extrudeModel    linearNormal;
linearNormalCoeffs { thickness 0.001; }

expansionRatio  1.00;

mergeFaces      false;

// ************************************************************************* //
extrudeMeshDict (936 bytes)   

henry

2025-01-02 18:04

manager   ~0013499

Where should the extruded mesh be written? Should it always overwrite the original mesh or write to some other location? Currently it always writes to constant/polyMesh.

administrator

2025-01-02 18:05

administrator   ~0013500

Development request to be discussed with sponsors.

Issue History

Date Modified Username Field Change
2025-01-02 16:39 blocksgearing0d New Issue
2025-01-02 16:39 blocksgearing0d File Added: extrudeMeshDict
2025-01-02 18:04 henry Note Added: 0013499
2025-01-02 18:05 administrator Assigned To => administrator
2025-01-02 18:05 administrator Status new => closed
2025-01-02 18:05 administrator Resolution open => suspended
2025-01-02 18:05 administrator Note Added: 0013500