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, 09:21
Default Dynamic Mesh
  #1
New Member
 
Bill
Join Date: Jun 2019
Posts: 29
Rep Power: 6
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, 05:14
Default
  #2
New Member
 
Join Date: May 2020
Posts: 6
Rep Power: 5
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, 09: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 08:27
Sliding / Dynamic Mesh in heat transfer problem platzhalter FLUENT 0 May 7, 2018 05:25
[ICEM] Dynamic mesh setup with ICEM David121284 ANSYS Meshing & Geometry 0 April 11, 2014 04:19
Dynamic Mesh "Shadow Wall" thezack FLUENT 0 June 4, 2013 22:09
dynamic mesh for drop interface IndrajitW FLUENT 0 March 30, 2013 08:03


All times are GMT -4. The time now is 09:36.