CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[Other] laserbeamFoam: laser ray tracing in openfoam

Register Blogs Community New Posts Updated Threads Search

Like Tree5Likes
  • 3 Post By tom_flint2012
  • 1 Post By tom_flint2012
  • 1 Post By tom_flint2012

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 21, 2022, 12:11
Default laserbeamFoam: laser ray tracing in openfoam
  #1
Member
 
Thomas Flint
Join Date: Jan 2016
Posts: 60
Rep Power: 10
tom_flint2012 is on a distinguished road
Hi everyone,

If anyone is interested in ray-tracing implementations in OpenFoam. We have just released a solver we developed for simulating laser-substrate interaction. The solver is capable of simulating fusion and vapourisation state transitions induced through the application of a laser heat source.

In this work the laser beam is discretised into a series of 'Rays' that are tracked through the domain and multiple reflections they may have. This solver should be of interest to anyone looking at laser-powder bed fusion processes or laser welding/drilling applications.

The code is available here:

https://github.com/micmog/LaserbeamFoam

We are hoping to have the code published in SoftwareX, and have just submitted the manuscript there today.

We hope the code is interesting to the community.

All the best,

Tom
bigphil, Juan Daniel and dasa like this.
tom_flint2012 is offline   Reply With Quote

Old   October 26, 2022, 03:29
Default May I ask if this solver can calculate the melting of more than two kinds of mixed pa
  #2
New Member
 
Join Date: Sep 2017
Posts: 12
Rep Power: 9
nixiaonan is on a distinguished road
Quote:
Originally Posted by tom_flint2012 View Post
Hi everyone,

If anyone is interested in ray-tracing implementations in OpenFoam. We have just released a solver we developed for simulating laser-substrate interaction. The solver is capable of simulating fusion and vapourisation state transitions induced through the application of a laser heat source.

In this work the laser beam is discretised into a series of 'Rays' that are tracked through the domain and multiple reflections they may have. This solver should be of interest to anyone looking at laser-powder bed fusion processes or laser welding/drilling applications.

The code is available here:

https://github.com/micmog/LaserbeamFoam

We are hoping to have the code published in SoftwareX, and have just submitted the manuscript there today.

We hope the code is interesting to the community.

All the best,

Tom
May I ask if this solver can calculate the melting of more than two kinds of mixed particle materials? I need to calculate the melting of mixed particle. I would be very grateful if you could help me
nixiaonan is offline   Reply With Quote

Old   October 29, 2022, 16:07
Default
  #3
Member
 
Thomas Flint
Join Date: Jan 2016
Posts: 60
Rep Power: 10
tom_flint2012 is on a distinguished road
Hi,

This solver is just for 2 components, the gas phase and a metallic phase that can have the the properties of an alloy, but no multi-component advection diffusion equations are solved.

In the next version of the solver I was going to extend to multi-component substrates like you may see I have done in some of my published papers.

Hopefully I’ll get the multi-component code released in the next 6 months.
tom_flint2012 is offline   Reply With Quote

Old   October 29, 2022, 23:26
Default
  #4
New Member
 
Join Date: Sep 2017
Posts: 12
Rep Power: 9
nixiaonan is on a distinguished road
Quote:
Originally Posted by tom_flint2012 View Post
Hi,

This solver is just for 2 components, the gas phase and a metallic phase that can have the the properties of an alloy, but no multi-component advection diffusion equations are solved.

In the next version of the solver I was going to extend to multi-component substrates like you may see I have done in some of my published papers.

Hopefully I’ll get the multi-component code released in the next 6 months.
Okay, that's great. I'm looking forward to your work
nixiaonan is offline   Reply With Quote

Old   November 15, 2022, 08:40
Default icoReactingMultiphaseInterFoam
  #5
New Member
 
Join Date: Sep 2017
Posts: 12
Rep Power: 9
nixiaonan is on a distinguished road
Quote:
Originally Posted by tom_flint2012 View Post
Hi,

This solver is just for 2 components, the gas phase and a metallic phase that can have the the properties of an alloy, but no multi-component advection diffusion equations are solved.

In the next version of the solver I was going to extend to multi-component substrates like you may see I have done in some of my published papers.

Hopefully I’ll get the multi-component code released in the next 6 months.
Good evening

For the calculation of multicomponent materials, I think can refer to solver icoReactingMultiphaseInterFoam, it can calculate laser melting, but it's difficult to convergence. So look forward to your new solver.
nixiaonan is offline   Reply With Quote

Old   January 21, 2023, 04:55
Default Paper
  #6
Member
 
Thomas Flint
Join Date: Jan 2016
Posts: 60
Rep Power: 10
tom_flint2012 is on a distinguished road
Here is the published SoftwareX paper with an additional validation case at the end for anyone interested.

https://authors.elsevier.com/sd/arti...52711022002175
tom_flint2012 is offline   Reply With Quote

Old   April 26, 2023, 12:07
Default
  #7
New Member
 
Lorenzo Pedrolli
Join Date: Dec 2021
Posts: 4
Rep Power: 5
Lollum is on a distinguished road
Thank you Tom, very interesting work!
I am working with the particle models included in OF, it would be interesting to see how the two can combine.
Lollum is offline   Reply With Quote

Old   December 4, 2023, 11:48
Default laserbeamFoam - V2
  #8
Member
 
Thomas Flint
Join Date: Jan 2016
Posts: 60
Rep Power: 10
tom_flint2012 is on a distinguished road
Hi everyone,

if anyone is interested, we just released the multi-component version of laserbeamFoam on the repository.

You can use this for simulating dissimilar welding with M-components in the metallic substrate. The diffusion is specified through diffusion coefficients between the appropriate phase pairs and interface compression between the immiscible phases.



bigphil likes this.

Last edited by tom_flint2012; December 4, 2023 at 11:53. Reason: image not loading
tom_flint2012 is offline   Reply With Quote

Old   December 9, 2023, 22:28
Default
  #9
New Member
 
Join Date: Dec 2023
Posts: 1
Rep Power: 0
susht is on a distinguished road
Hi Thomas,

Thank you for sharing the code. Would it be possible to model the vapor phase with the interFOAM that you have used since it is two phase?

Thank you.
susht is offline   Reply With Quote

Old   December 13, 2023, 08:46
Default
  #10
Member
 
Thomas Flint
Join Date: Jan 2016
Posts: 60
Rep Power: 10
tom_flint2012 is on a distinguished road
Hi,

so not with this code. This code uses the phenomenological recoil pressure approach. The phases are metallic ones and non-condensing background gas.

I have another code that is not released yet where we explicitly capture the vapourisation and condensation between the liquid and vapour metallic components too. You can find these publications here:

https://doi.org/10.1016/j.ijheatmass...er.2023.124262

https://doi.org/10.1016/j.ijheatmass...er.2022.122985

This approach, because it properly captures the map/cond transition, captures the volumetric dilation and massive velocity jump (Otto and Zenz just published something similar too in computers and fluids with a full compressible treatment).
Basically if you do these high fidelity approaches your tilmestep becomes prohibitively small. We did some analysis and found that for most cases where the vapourisation doesn't dominate it's more tractable to use this div(U)=0 approach so that's what we've focussed on with these code releases.

When I get time, and if enough people are using the laserbeamfoam repository I'll add the proper density jump, higher fidelity, code too. I just need to get some more publications out with that first as it took me a very long time to implement properly. I'll get round to releasing that in the next few years I would have thought. The goal is to release everything open-source, it's just finding the time around other commitments that is difficult; so I try and release the most useful tools first

Let me know if you have more questions. Happy to answer and provide context.

All the best,

Tom
susht likes this.
tom_flint2012 is offline   Reply With Quote

Old   December 17, 2023, 16:26
Default laserbeamFoam Plate3D Tutorial
  #11
New Member
 
Aykut Bakan
Join Date: Dec 2023
Posts: 3
Rep Power: 3
LazyLaser is on a distinguished road
Hi,

Thank you for sharing this exciting project. After installing and testing laserbeamFoam on my PC, I encountered no issues with the Plate2D tutorial. However, when attempting the Plate3D tutorial, I encountered a fatal IO error: "keyword poly_kappa is undefined in dictionary: physicalProperties.metal". Do you have any suggestions for resolving this situation?

Thank you once again for providing this excellent simulation.

Best regards,
LazyLaser is offline   Reply With Quote

Old   December 20, 2023, 18:18
Default
  #12
Member
 
Thomas Flint
Join Date: Jan 2016
Posts: 60
Rep Power: 10
tom_flint2012 is on a distinguished road
Hi,

I must not have updated that example once I added the polynomial properties functionality.

It's sating that the poly_kappa and cp are not defined, you can copy these from the transport properties of the tutorial that did run.

Hope that helps
tom_flint2012 is offline   Reply With Quote

Old   December 26, 2023, 11:12
Default Some Questions
  #13
New Member
 
Aykut Bakan
Join Date: Dec 2023
Posts: 3
Rep Power: 3
LazyLaser is on a distinguished road
I appreciate your guidance in my previous inquiries. I have successfully conducted simulations, focusing on laser drilling scenarios for given laser and material properties. As I continue to delve into this field, I am interested in exploring various cases by altering laser and material properties to test the simulation results with my experiments. I am now seeking guidance on how to calculate the total material removed during the laser drilling process. Could you provide insights or direct me to relevant resources that elaborate on effective methodologies for quantifying the overall material removal in your code?

Also, I encountered a problem when decreasing the value of HS_a, which I understand to be the beam diameter. It seems that, with this adjustment, heat deposition on the substrate is not occurring as anticipated. I suspect there might be a crucial detail I am overlooking.

Sorry if my questions are boring or have simple solutions that I cannot detect as I'm new in the numerical modeling field. But I think these kind of questions will be very helpful for the future community of laserbeamFoam.

Best regards,
LazyLaser is offline   Reply With Quote

Old   January 3, 2024, 14:13
Default Steady State Solution in laserbeamFoam
  #14
New Member
 
Aykut Bakan
Join Date: Dec 2023
Posts: 3
Rep Power: 3
LazyLaser is on a distinguished road
Is there a method to control the number of pulses in a simulation? I aim to observe the steady-state solution after a specific number of pulses, say 10, to analyze the resulting hole structure.

I tried to change the simulation end time to 0.5s and after 0.25s had elapsed, I stop the code, set the HS_Q to 0 (effectively disabling the heat source), and resumed the simulation from the time 0.25s. However, the molten pool solidifies in an unexpected wavy geometry, not U shaped.

Also, is there a way to change pulse duration in the code? I want to simulate a ns laser, but I cannot arrange the pulse duration from the LaserProperties and it is originally taken as 0.01s as far as I understand.

I will continue to write my experiences with the code.

Best,

Last edited by LazyLaser; January 16, 2024 at 11:58. Reason: spelling
LazyLaser is offline   Reply With Quote

Old   May 26, 2024, 23:41
Default
  #15
New Member
 
Wei Zhang
Join Date: Mar 2024
Posts: 1
Rep Power: 0
Amaz1 is on a distinguished road
Quote:
Originally Posted by tom_flint2012 View Post
Hi everyone,

If anyone is interested in ray-tracing implementations in OpenFoam. We have just released a solver we developed for simulating laser-substrate interaction. The solver is capable of simulating fusion and vapourisation state transitions induced through the application of a laser heat source.

In this work the laser beam is discretised into a series of 'Rays' that are tracked through the domain and multiple reflections they may have. This solver should be of interest to anyone looking at laser-powder bed fusion processes or laser welding/drilling applications.

The code is available here:

https://github.com/micmog/LaserbeamFoam

We are hoping to have the code published in SoftwareX, and have just submitted the manuscript there today.

We hope the code is interesting to the community.

All the best,

Tom
Hi, Tom
Thank you for sharing the code. I am very interested in implementing ray tracing with OpenFoam. I have almost tried all the validation cases you have published. I know this solver can simulate fusion and vaporization state transitions caused by applying a laser heat source. But I want to reduce this vaporization transition only to achieve the phenomenon of laser melting. I initially tried to increase the laser diameter and scanning speed, but the vaporization transition still reacted violently. Due to the inherent nature of surface tension temperature change rate, I want to start by increasing the pressure field, but I don't know how to control it. I hope you can help me answer my questions. Do you have any suggestions for achieving melting phenomenon?
Thank you again for providing excellent simulation.
Wishing you all the best,
AmaZ1
Amaz1 is offline   Reply With Quote

Old   June 23, 2024, 16:13
Default laser incident on a single material block
  #16
New Member
 
Ayush Jain
Join Date: May 2024
Posts: 1
Rep Power: 0
jain_ayush is on a distinguished road
Like all these models presented have key hole formation. Is there a way so that this does not take place and instead we see only heat (i.e temprature )distribution in the sample with the moving laser in a particular direction
jain_ayush is offline   Reply With Quote

Reply

Tags
additive manufacturing, laser welding, powder bed fusion, ray-tracing


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
Suggestions on ray tracing method for laser processing jscsgh FLUENT 7 December 4, 2023 11:56
Frequently Asked Questions about Installing OpenFOAM wyldckat OpenFOAM Installation 3 November 14, 2023 12:58
OpenFOAM Training Jan-Jul 2017, Virtual, London, Houston, Berlin CFDFoundation OpenFOAM Announcements from Other Sources 0 January 4, 2017 07:15
OpenFOAM v3.0+ ?? SBusch OpenFOAM 22 December 26, 2016 15:24
OpenFOAM Training: Programming CFD Course 12-13 and 19-20 April 2016 cfd.direct OpenFOAM Announcements from Other Sources 0 January 14, 2016 11:19


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