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

[blockMesh] moving heat source

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 30, 2024, 10:05
Default moving heat source
  #1
New Member
 
Join Date: Mar 2024
Posts: 2
Rep Power: 0
liltunizplaya is on a distinguished road
hey guys,


i'm working on a project for laser beam welding and startet a case with a moving heat source on the surface of the two joint partners.


1. in my first step i created following three meshes with blockmesh:



- the two blocks, folder "block"


- refinementZone, which has the size of the movement area of the heat source


- laser




all my boundary faces have the type patch because i want to add convection heat transfer later (i dont know if thats the way its should be set but thats for later ). except the "side" faces of the refinementzone and the laser which have to be type overset.





2. then i merged them all in the folder "block":
Code:
mergeMeshes . ../refinementZone -overwrite
mergeMeshes . ../laser -overwrite
3. Now I have to do something with topoSetDict which i don't understand because I'm new.. this is why i want to ask you if the following way is correct:


- i will have to select the cells of the background, in this case the block
Code:
    {
        name    block;
        type    cellSet;
        action  new;
        source  regionToCell;
        sourceInfo
        {
            insidePoints ((X Y Z));
        }
    }
where i only have to put in a random coordinate that is inside the mesh of "block", right?


- ...


actually i am trying to do the same as in the tutorial "moving_cylinder" from wolfdynamics, where the background cells are selected as c0 and then the overset cells via inverting c0 (is this right? ):

Code:
actions
(
    {
        name    c0;
        type    cellSet;
        action  new;
        source  regionToCell;
        sourceInfo
        {
            insidePoints ((-10.999 -10.999 0));
        }
    }

    {
        name    c1;
        type    cellSet;
        action  new;
        source  cellToCell;
        sourceInfo
        {
            set c0;
        }
    }

    {
        name    c1;
        type    cellSet;
        action  invert;
    }
);






Last edited by liltunizplaya; March 31, 2024 at 05:28.
liltunizplaya is offline   Reply With Quote

Reply


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
[swak4Foam] swak4foam for OpenFOAM 4.0 mnikku OpenFOAM Community Contributions 80 May 17, 2022 08:06
[foam-extend.org] problem when installing foam-extend-1.6 Thomas pan OpenFOAM Installation 7 September 9, 2015 21:53
OpenFOAM without MPI kokizzu OpenFOAM Installation 4 May 26, 2014 09:17
friction forces icoFoam ofslcm OpenFOAM 3 April 7, 2012 10:57
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51


All times are GMT -4. The time now is 20:11.