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

[mesh manipulation] Dynamic Mesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 22, 2019, 10:21
Default Dynamic Mesh
  #1
New Member
 
Bill
Join Date: Jun 2019
Posts: 29
Rep Power: 7
OPFO is on a distinguished road
Hello,

If I want to refine the mesh to simulate melting (solid to liquid phase) on the attached powder bed mesh, do I use dynamicMeshDict? I'm assuming this is the mesh tool that will allow me to add/delete cells to account for the melting phenomenon.

Here's what I have, but when I run my simulation, nothing changes in the mesh. Is there some command I am supposed to input before I run my simulation?

I'm using OpenFOAM-v1812 and using the icoReactingMultiphaseInterFoam solver. As I understand it, with v1812, dynamic mesh capabilities are built into the solvers. Please correct me if I'm wrong!

********************
dynamicFvMesh dynamicRefineFvMesh;

// How often to refine
refineInterval 1;

// Field to be refinement on
field alpha.solid;

// Refine field inbetween lower..upper
lowerRefineLevel 0.001;
upperRefineLevel 0.999;

// If value < unrefineLevel unrefine
unrefineLevel 10;

// Have slower than 2:1 refinement
nBufferLayers 1;

// Refine cells only up to maxRefinement levels
maxRefinement 2;

// Stop refinement if maxCells reached
maxCells 1500000;

// Flux field and corresponding velocity field. Fluxes on changed
// faces get recalculated by interpolating the velocity. Use 'none'
// on surfaceScalarFields that do not need to be reinterpolated.
correctFluxes
(
phi
U
);

// Write the refinement level as a volScalarField
dumpLevel true;
***********************

Any help would be much appreciated!
Thanks!
Attached Images
File Type: jpg SLMSim.jpg (22.2 KB, 50 views)
OPFO is offline   Reply With Quote

Old   December 27, 2020, 06:14
Default
  #2
New Member
 
Join Date: May 2020
Posts: 7
Rep Power: 6
flo(w) is on a distinguished road
Hi Bill,
same problem here. Have you already found a solution?
Best regards, Florian
flo(w) is offline   Reply With Quote

Old   April 7, 2022, 10:19
Default
  #3
New Member
 
Join Date: Jan 2021
Posts: 12
Rep Power: 5
Schmidtgen is on a distinguished road
Are there any Updates on your Problem?
Schmidtgen is offline   Reply With Quote

Reply

Tags
dynamicmeshdict, melting


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
Dynamic Mesh on Pintle type injector. herntan FLUENT 16 September 4, 2020 09:27
Sliding / Dynamic Mesh in heat transfer problem platzhalter FLUENT 0 May 7, 2018 06:25
[ICEM] Dynamic mesh setup with ICEM David121284 ANSYS Meshing & Geometry 0 April 11, 2014 05:19
Dynamic Mesh "Shadow Wall" thezack FLUENT 0 June 4, 2013 23:09
dynamic mesh for drop interface IndrajitW FLUENT 0 March 30, 2013 09:03


All times are GMT -4. The time now is 13:18.