|
[Sponsors] |
laser simulation by icoReactingMultiphaseInterFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 21, 2022, 08:51 |
|
#21 | |
New Member
Sumant
Join Date: Nov 2021
Posts: 13
Rep Power: 5 |
Hello Everyone,
Please let me know, how can I change the sigma (radiation properties file) value w.r.t. "focal laser radius" and (or) "laser power" because sigma is affecting the minimum and maximum value of melt pool temperature. I have attached the radiation properties file for reference. Quote:
Thanks & Regards Sumant |
||
February 22, 2022, 06:40 |
|
#22 |
Member
Teresa
Join Date: Nov 2015
Location: germany
Posts: 63
Rep Power: 11 |
Hi Sumant
what do you know about this parameter so far? The laser is implemented as d4sigma and you have to choose an sigma accordingly. However, I am unsure how exactly the laser power is handled outside. If anyone has had a closer look at it, I'd be happy to discuss it. Regards Teresa |
|
February 22, 2022, 12:30 |
|
#23 | ||
Senior Member
Join Date: Oct 2017
Posts: 133
Rep Power: 9 |
Quote:
Quote:
|
|||
February 23, 2022, 03:55 |
|
#24 |
Member
Teresa
Join Date: Nov 2015
Location: germany
Posts: 63
Rep Power: 11 |
Outside of the D4Sigma width. Naturally there should still be Laser power with low intensity. However I don't think this is the case here and haven't found it in the code yet. It wasn't a high priority yet.
|
|
February 23, 2022, 16:08 |
|
#25 |
Senior Member
Join Date: Oct 2017
Posts: 133
Rep Power: 9 |
Yes, I agree that the power outside of the radius is neglected.
I think this is the relevant file: https://develop.openfoam.com/Develop...RM/laserDTRM.C In line 245 the for loop is defined: Code:
for (label ri = 0; ri < ndr_; ri++) Code:
scalar r1 = SMALL + dr*ri; scalar r2 = r1 + dr; Code:
scalar dr = focalLaserRadius_/ndr_; |
|
February 24, 2022, 03:49 |
|
#26 |
Member
Teresa
Join Date: Nov 2015
Location: germany
Posts: 63
Rep Power: 11 |
Thanks a lot, Krapf. I might check how much this in my case really is and see if I can neglect that too or have to adjust it.
|
|
February 24, 2022, 06:15 |
|
#27 |
New Member
Join Date: Sep 2020
Posts: 3
Rep Power: 6 |
Sorry for asking an irrelavant question.
Is there any way to record the ray directions or reflection positions of the laser rays(DTRMparticle) |
|
February 24, 2022, 07:16 |
|
#28 |
Member
Teresa
Join Date: Nov 2015
Location: germany
Posts: 63
Rep Power: 11 |
Hi Maguro,
for me it is relevant. I would like to track my particles and their intensity, too. Haven't gotten to it, yet. I haven't testet it yet, but maybe Langrangian Function Objects might help. Otherwise a look at DTRMParticle.C might give new ideas. Regards, Teresa |
|
February 24, 2022, 16:00 |
|
#29 | |
Senior Member
Join Date: Oct 2017
Posts: 133
Rep Power: 9 |
If you add
Quote:
Teresa, this will also print how much power is absorbed. I think you could use this value to check how much energy is lost due to the Gaussian distribution outside of the radius. If I remember it correctly, it will produce a lot of overhead if the simulation is run in parallel. |
||
February 25, 2022, 03:38 |
|
#30 |
Member
Teresa
Join Date: Nov 2015
Location: germany
Posts: 63
Rep Power: 11 |
Thanks again, Krapf, Very useful information. I will try it.
|
|
March 1, 2022, 08:26 |
|
#31 |
New Member
Luca Luberto
Join Date: May 2016
Posts: 3
Rep Power: 10 |
Hello dear forum,
we also need clarification on the proper use of the LaserDTRM functionality in the icoReactingMultiphaseInterFoam solver. My students and I would like to use reflection in our model. In this context, LaserDTRM offers Fresnel's recletion. According to the announcement of OpenFOAM (link) the whole thing was also implemented according to the paper of Cho2006, which includes reflections at interfaces and a raytracing approach for the volume of fluid method. To test the whole thing we built a model where a laser emits at 45° onto a wall. The case runs so far, but according to our expectation the emitted rays (particle in the DTRM cloud) should hit the wall and be reflected in parts under 45° + 90° (Figure 1, origID particle cloud). We have already adjusted various parameters, but the reflection simply does not change at all. The rays remain at their angle of 45° (Fig. 2, Q) and are guided through the material without visible reflection to the other wall. The DTRM cloud remains at its initial location, also the corresponding flag DebugSwitches { DTRMCloud 1; } did not bring any change. We are currently lost and out of ideas - does this work at all as we assume or is there a crucial parameter missing in the model/radiation properties?! I am very grateful for any help and tips! Best regards, Luca Link to image: https://imgur.com/Yalx6sO Last edited by LucaL; March 1, 2022 at 08:27. Reason: no picture added |
|
March 1, 2022, 10:56 |
|
#32 |
Member
Teresa
Join Date: Nov 2015
Location: germany
Posts: 63
Rep Power: 11 |
Hello Luca,
just a short reply about the debug mode. Have you tried the debug switch using a normal openFoam installation or a proper debug one? Regards, Teresa |
|
March 2, 2022, 06:23 |
|
#33 |
New Member
Luca Luberto
Join Date: May 2016
Posts: 3
Rep Power: 10 |
Thanks for the quick reply.
I have tried the whole thing in debug mode - unfortunately no changes. Did it work for you with it??? Greetings, Luca |
|
March 2, 2022, 08:54 |
|
#34 |
Member
Teresa
Join Date: Nov 2015
Location: germany
Posts: 63
Rep Power: 11 |
Hey Luca,
sadly I wasn't able to get the debug version going due to time issues. I hope to be able to do this next week. If so, I will tell you about it. |
|
March 15, 2022, 12:12 |
|
#35 |
New Member
Sumant
Join Date: Nov 2021
Posts: 13
Rep Power: 5 |
Hello Friends,
How to define temperature dependent thermal conductivity in laser simulation by using "icoReactingMultiphaseInterFoam" solver. Kindly suggest to me or share any related documentation. I would love to appreciate your kind help. Thanks & Regards |
|
March 15, 2022, 13:37 |
|
#36 |
Senior Member
Join Date: Oct 2017
Posts: 133
Rep Power: 9 |
If you replace "constIso" in thermophysicalProperties.* with "banana" (or any other arbitrary word) and run icoReactingMultiphaseInterFoam, you'll get an error message with the valid options for defining the thermal conductivity.
|
|
March 17, 2022, 08:00 |
|
#37 |
New Member
Join Date: Sep 2020
Posts: 3
Rep Power: 6 |
Hello fellows,
With reviewing the codes in laserDTRM files, I found a problem. Here is the code that writing for adding a new reflecting beam in function bool Foam:TRMParticle::move, if I'm not wrong. Code:
if (cellI > -1) { DTRMParticle* pPtr = new DTRMParticle ( mesh(), insertP, insertP + newDir*mesh().bounds().mag(), I_*rho, cellI, dA_, -1 ); // Add to cloud spc.addParticle(pPtr); } Code:
DTRMParticle::trackingData td ( DTRMCloud_, aInterp, eInterp, EInterp, TInterp, nHatInterp, reflectingCells, reflectionUPtr, Q_ ); Info<< "Move particles..." << returnReduce(DTRMCloud_.size(), sumOp<label>()) << endl; DTRMCloud_.move(DTRMCloud_, td, mesh_.time().deltaTValue()); |
|
March 17, 2022, 09:41 |
|
#38 |
Member
Teresa
Join Date: Nov 2015
Location: germany
Posts: 63
Rep Power: 11 |
Hey Magura,
could you please share how you exported the particles parameters? I have no idea how to fix that yet. Regards Teresa |
|
March 17, 2022, 09:42 |
|
#39 |
Member
Teresa
Join Date: Nov 2015
Location: germany
Posts: 63
Rep Power: 11 |
Hi all,
has anyone simulated multiple lasers yet? Is it possible to add multiple laser instead of just one using laserdtrm? Regards, Teresa |
|
June 9, 2022, 13:40 |
|
#40 |
New Member
DK
Join Date: Oct 2021
Posts: 6
Rep Power: 5 |
Dear Foamer ,
How we can put latent heat of fusion and vapourization as an input in solver "icoreactingmultiphaseinterfoam" for SLM simulation? , Is it feasible to put in solver? I welcome your suggestion in this regard. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Laser welding simulation using OpenFoam | yeokiwi | CFD Freelancers | 2 | June 4, 2017 03:49 |
Simulation FPEs - turbulence for transient and steady-state? | DaveR | OpenFOAM Running, Solving & CFD | 5 | March 5, 2017 16:06 |
Simulation of high pressure diesel injector - all phases compressible with cavitation | fivos | CFX | 4 | July 30, 2015 07:48 |
Huge file sizes when Running VOF simulation | aarratia | FLUENT | 0 | May 8, 2014 13:27 |
Simulation of Laser Drilling in FLUENT | JB | FLUENT | 0 | November 20, 2006 01:12 |