Z Lambda Cloning repository #2
Replies: 3 comments 1 reply
-
I could able to run successfully this simulation first time. later again i compiled its throwing error "obj\Debug\ConfigExperiment.o||No such file or directory| obj\Debug\ConfigSample.o||No such file or directory|" But actually files are present in this path. Can u please help me out what's going wrong in the compilation flow |
Beta Was this translation helpful? Give feedback.
-
|
Hi Rafal,
Thanks for the reply. I could able to resolve the compilation issues.
but i am unable to generate the heat map after the execution.
Could you please help me to generate the heat map and correct the input of
ConfigExperiment and ConfigSample?
attaching the both configExperiment and ConfigSample.
My requirement is to irradiate the gold sample with different laser power
for 3 seconds and see the temperature increase in the work piece.
Below are the parameters.
The gold work piece :
z axis : 2mm
x axis : 5mm
y axis : 5mm
Laser Wavelength : 450nm
Laser Power : 40W
Continuous Exposure for 3 seconds. no pulse width modulation.
Laser Beam : 2x2mm area or 2mm radius
Velocity is Zero : no range scanning.
[image: image.png]
…On Mon, Mar 11, 2024 at 5:12 PM Rafal ***@***.***> wrote:
try compile with the command: g++ main.cpp ExperimentData.cpp thermo.cpp
-o zlambda -pthread -std=c++11 -O3
or you can download compiled windows bin version from this repository:
bin/0.73.0-latest/zlambda0.73.0-x64Win.zip
—
Reply to this email directly, view it on GitHub
<#2 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AG2QMHTDQ6JUZRPF7SECYULYXWKBLAVCNFSM6AAAAABEOFJVI2VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DONBUG4YDS>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
--
Thanks & Regards
Venkatesh Raju
Ph : +919620435930
# If you want to comment some phrase in the ConfigExperiment.txt file, please use # at the beginning of the line
# Below you can set the simulation condition.
# Please notice that you have to use the units pointed in [ ] brackets.
#Single shot experiment - if SingleShot=0 the calculation will be performed normally.
#If value is equal 1, only 1000 iteration will be perform. In this mode the sample is irradiated by one probe laser pulse at the position z0.
#If the laser is CW, then the sample is irradiated durring 1000 irradiation.
SingleShot = 1
# Please use the multithreading feature of Z-lambda with caution.
# Multithreading allows for the use of multiple processor cores and can speed up calculations.
# However, not every processor is capable of handling up to 64 threads, which can lead to
# decreased performance. Before setting the number of threads, please check the specifications
# of your processor and choose the appropriate number of threads for your hardware.
# CAUTION!!!
# Number of CPU threads - integer naumber in the range from 1 to 64
Threads = 2
#Z-scan range. Distance between -z and +z [mm]
ZScanRange = 0
#Sample velocity [mm/s].
SampleVelocity = 1
#Simulation time [s].
#If the SimulationTime is longer than full scan time: (t_fullscan = ZScanRange/SampleVelocity) the calculation will continue without the laser irradiation.
#In the opposite (SimulationTime < t_fullscan), the calculation will stop at SimulationTime
SimulationTime = 300
#Duration of the numerical time step. Real valu in [s]
NumericalTimeStep = 5e-5
#Laser wavelength [nm]
LambdaOfLaser = 410.0
#Beam radius at z0 [m]
omegaZero = 2.5e-6
#Laser pulse duration [s], if you put 0 the laser will be CW not pulsed (i.e. 5ns -> 5e-9, 100ps - 100e-12)
LaserPulseDuration = 100e-9
#LaserPulseDuration = 0
#Laser Pulse Energy (if the LaserPulseDuration > 0) [J]
LaserPulseEnergy = 5e-3
#LaserPower (if the LaserPulseDuration = 0) [W]
LaserCWPower = 20
#Pulse Repetition frequency [Hz] for pulsed laser. Please notice that the value must be integer.
LaserPulseRepetition = 100000
#Save Zero Planes interval [s] If the value is 0, then data will be saved after each iteration and it's take a huge time and disk space.
SaveZPRInterval = 10.0
#Save Zero Planes (1 = Yes, 0 = No) - indicate that the program will be saved Zero Planes results
DoesSaveZPRInterval = 1
#Save all sample Interval [s] - If the value is 0, then data will be saved after each iteration.
SaveASInterval = 0
#Save all sample (1 = Yes, 0 = No) - indicate that the program will be saved All sample heat map results
DoesSaveASInterval = 1
# If you want to comment some phrase in the SampleConfig.txt file, please use # at the beginning of the line
# Below you can set the physical parameters of the sample.
# Please notice that you have to use the unit pointed in [ ] brackets.
#Sample nodes N, O and P for sample's dimension x,y,z respectively. The values must be integer.
#Please notice: For the mesh symmetry the N,O,P numbers should be odd.
N = 121
O = 241
P = 61
#Sample dimension in millimeters [mm], where x, y and z are width, height and depth respectively.
x = 80
y = 20
z = 20
# Material Density [kg/m^3]
Density = 19320
#Material Specific Heat Capacity [J/(kg*K)] For Gold
SpecificHeatCapacity = 129.0
#Material Thermal Conductivity [W/(m*K)] For Gold
ThermalConductivity = 318
#Sample's light transmission at the laser wavelength (i.e. 0.55 means 55% of light transmission)
Transmission = 0.50
#Sample's reflectance coefficient (i.e. 0.05 means 5% of reflectance) 50% Reflectance
Reflectance = 0.5
#Sample's thermal laser beam absorptivity
beta_thermal = 0.5
#Sample's Initial temperature [K]
Temp0 = 293
#The film coefficient boundary condition at the each sides of the samples [W / (m^2*K)]
#Front and Back sides of the sample (along the Z axis)
alfa_zF = 20.0
alfa_zB = 20.0
#Left and Right side of the sample (along the X axis)
alfa_xL = 80.0
alfa_xR = 80.0
#Upper and Lower side of the sample (along the Y axis)
alfa_yU = 80.0
alfa_yL = 80.0
#Emissivity of the Front and Back sides of the sample (along the Z axis)
epsilon_zF = 0.3
epsilon_zB = 0.3
#Emissivity of the Left and Right sides of the sample (along the X axis)
epsilon_xL = 0.3
epsilon_xR = 0.3
#Emissivity of the Upper and Lower sides of the sample (along the Y axis)
epsilon_yU = 0.3
epsilon_yL = 0.3
#Ambient temperature around the sample
#Ambient temperature [K] on the Front and Back side of the sample (axis Z)
Tamb_zF = 293
Tamb_zB = 293
#Ambient temperature [K] on the Left and Right side of the sample (axis X)
Tamb_xL = 293
Tamb_xR = 293
#Ambient temperature [K] on the Upper and Lower side of the sample (axis Y)
Tamb_yU = 293
Tamb_yL = 293
|
Beta Was this translation helpful? Give feedback.
-
|
Dear Venkatesh Raju
Thank you for your interest in our program.
Unfortunately, this program does not perform calculations for
non-transparent materials.
It was invented for transparent materials (for example, glass) and for
pulsed beam lasers.
With greetings
Rafal
pon., 11 mar 2024 o 15:43 Venkateshraju39 ***@***.***>
napisał(a):
… Hi Rafal,
Thanks for the reply. I could able to resolve the compilation issues.
but i am unable to generate the heat map after the execution.
Could you please help me to generate the heat map and correct the input of
ConfigExperiment and ConfigSample?
attaching the both configExperiment and ConfigSample.
My requirement is to irradiate the gold sample with different laser power
for 3 seconds and see the temperature increase in the work piece.
Below are the parameters.
The gold work piece :
z axis : 2mm
x axis : 5mm
y axis : 5mm
Laser Wavelength : 450nm
Laser Power : 40W
Continuous Exposure for 3 seconds. no pulse width modulation.
Laser Beam : 2x2mm area or 2mm radius
Velocity is Zero : no range scanning.
[image: image.png]
On Mon, Mar 11, 2024 at 5:12 PM Rafal ***@***.***> wrote:
> try compile with the command: g++ main.cpp ExperimentData.cpp thermo.cpp
> -o zlambda -pthread -std=c++11 -O3
>
> or you can download compiled windows bin version from this repository:
> bin/0.73.0-latest/zlambda0.73.0-x64Win.zip
>
> —
> Reply to this email directly, view it on GitHub
> <
#2 (reply in thread)>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/AG2QMHTDQ6JUZRPF7SECYULYXWKBLAVCNFSM6AAAAABEOFJVI2VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DONBUG4YDS>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
--
Thanks & Regards
Venkatesh Raju
Ph : +919620435930
# If you want to comment some phrase in the ConfigExperiment.txt file,
please use # at the beginning of the line
# Below you can set the simulation condition.
# Please notice that you have to use the units pointed in [ ] brackets.
#Single shot experiment - if SingleShot=0 the calculation will be
performed normally.
#If value is equal 1, only 1000 iteration will be perform. In this mode
the sample is irradiated by one probe laser pulse at the position z0.
#If the laser is CW, then the sample is irradiated durring 1000
irradiation.
SingleShot = 1
# Please use the multithreading feature of Z-lambda with caution.
# Multithreading allows for the use of multiple processor cores and can
speed up calculations.
# However, not every processor is capable of handling up to 64 threads,
which can lead to
# decreased performance. Before setting the number of threads, please
check the specifications
# of your processor and choose the appropriate number of threads for your
hardware.
# CAUTION!!!
# Number of CPU threads - integer naumber in the range from 1 to 64
Threads = 2
#Z-scan range. Distance between -z and +z [mm]
ZScanRange = 0
#Sample velocity [mm/s].
SampleVelocity = 1
#Simulation time [s].
#If the SimulationTime is longer than full scan time: (t_fullscan =
ZScanRange/SampleVelocity) the calculation will continue without the laser
irradiation.
#In the opposite (SimulationTime < t_fullscan), the calculation will stop
at SimulationTime
SimulationTime = 300
#Duration of the numerical time step. Real valu in [s]
NumericalTimeStep = 5e-5
#Laser wavelength [nm]
LambdaOfLaser = 410.0
#Beam radius at z0 [m]
omegaZero = 2.5e-6
#Laser pulse duration [s], if you put 0 the laser will be CW not pulsed
(i.e. 5ns -> 5e-9, 100ps - 100e-12)
LaserPulseDuration = 100e-9
#LaserPulseDuration = 0
#Laser Pulse Energy (if the LaserPulseDuration > 0) [J]
LaserPulseEnergy = 5e-3
#LaserPower (if the LaserPulseDuration = 0) [W]
LaserCWPower = 20
#Pulse Repetition frequency [Hz] for pulsed laser. Please notice that the
value must be integer.
LaserPulseRepetition = 100000
#Save Zero Planes interval [s] If the value is 0, then data will be saved
after each iteration and it's take a huge time and disk space.
SaveZPRInterval = 10.0
#Save Zero Planes (1 = Yes, 0 = No) - indicate that the program will be
saved Zero Planes results
DoesSaveZPRInterval = 1
#Save all sample Interval [s] - If the value is 0, then data will be saved
after each iteration.
SaveASInterval = 0
#Save all sample (1 = Yes, 0 = No) - indicate that the program will be
saved All sample heat map results
DoesSaveASInterval = 1
# If you want to comment some phrase in the SampleConfig.txt file, please
use # at the beginning of the line
# Below you can set the physical parameters of the sample.
# Please notice that you have to use the unit pointed in [ ] brackets.
#Sample nodes N, O and P for sample's dimension x,y,z respectively. The
values must be integer.
#Please notice: For the mesh symmetry the N,O,P numbers should be odd.
N = 121
O = 241
P = 61
#Sample dimension in millimeters [mm], where x, y and z are width, height
and depth respectively.
x = 80
y = 20
z = 20
# Material Density [kg/m^3]
Density = 19320
#Material Specific Heat Capacity [J/(kg*K)] For Gold
SpecificHeatCapacity = 129.0
#Material Thermal Conductivity [W/(m*K)] For Gold
ThermalConductivity = 318
#Sample's light transmission at the laser wavelength (i.e. 0.55 means 55%
of light transmission)
Transmission = 0.50
#Sample's reflectance coefficient (i.e. 0.05 means 5% of reflectance) 50%
Reflectance
Reflectance = 0.5
#Sample's thermal laser beam absorptivity
beta_thermal = 0.5
#Sample's Initial temperature [K]
Temp0 = 293
#The film coefficient boundary condition at the each sides of the samples
[W / (m^2*K)]
#Front and Back sides of the sample (along the Z axis)
alfa_zF = 20.0
alfa_zB = 20.0
#Left and Right side of the sample (along the X axis)
alfa_xL = 80.0
alfa_xR = 80.0
#Upper and Lower side of the sample (along the Y axis)
alfa_yU = 80.0
alfa_yL = 80.0
#Emissivity of the Front and Back sides of the sample (along the Z axis)
epsilon_zF = 0.3
epsilon_zB = 0.3
#Emissivity of the Left and Right sides of the sample (along the X axis)
epsilon_xL = 0.3
epsilon_xR = 0.3
#Emissivity of the Upper and Lower sides of the sample (along the Y axis)
epsilon_yU = 0.3
epsilon_yL = 0.3
#Ambient temperature around the sample
#Ambient temperature [K] on the Front and Back side of the sample (axis Z)
Tamb_zF = 293
Tamb_zB = 293
#Ambient temperature [K] on the Left and Right side of the sample (axis X)
Tamb_xL = 293
Tamb_xR = 293
#Ambient temperature [K] on the Upper and Lower side of the sample (axis
Y)
Tamb_yU = 293
Tamb_yL = 293
—
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOL5SQWP7ASA3X7QV32VZD3YXW7JHAVCNFSM6AAAAABEOFJVI2VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4DONBXGAZTQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Build Log :
||=== Build: Debug in Laser_Heat_Modelling (compiler: GNU GCC Compiler) ===|
||warning: D:\Laser_Soldering\Laser_Heat_Modelling\Laser_Heat_Modelling\ConfigExperiment.txt: linker input file unused because linking not done|
||warning: D:\Laser_Soldering\Laser_Heat_Modelling\Laser_Heat_Modelling\ConfigSample.txt: linker input file unused because linking not done|
D:\Laser_Soldering\Laser_Heat_Modelling\Laser_Heat_Modelling\ExperimentData.hpp|11|warning: #pragma once in main file|
D:\Laser_Soldering\Laser_Heat_Modelling\Laser_Heat_Modelling\ExperimentData.cpp|1764|warning: multi-line comment [-Wcomment]|
D:\Laser_Soldering\Laser_Heat_Modelling\Laser_Heat_Modelling\ExperimentData.cpp||In member function 'void SimulationData::SetData(ExperimentData, SampleData)':|
D:\Laser_Soldering\Laser_Heat_Modelling\Laser_Heat_Modelling\ExperimentData.cpp|482|warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses]|
D:\Laser_Soldering\Laser_Heat_Modelling\Laser_Heat_Modelling\ExperimentData.cpp|482|note: add parentheses around left hand side expression to silence this warning|
D:\Laser_Soldering\Laser_Heat_Modelling\Laser_Heat_Modelling\ExperimentData.cpp|482|warning: comparison of constant '2' with boolean expression is always false [-Wbool-compare]|
D:\Laser_Soldering\Laser_Heat_Modelling\Laser_Heat_Modelling\ExperimentData.cpp||In member function 'bool SimulationData::ShowMeSimulationData(ExperimentData, SampleData)':|
D:\Laser_Soldering\Laser_Heat_Modelling\Laser_Heat_Modelling\ExperimentData.cpp|581|warning: unused variable 'T' [-Wunused-variable]|
D:\Laser_Soldering\Laser_Heat_Modelling\Laser_Heat_Modelling\ExperimentData.cpp|582|warning: unused variable 't' [-Wunused-variable]|
D:\Laser_Soldering\Laser_Heat_Modelling\Laser_Heat_Modelling\ExperimentData.cpp|583|warning: unused variable 'dt' [-Wunused-variable]|
D:\Laser_Soldering\Laser_Heat_Modelling\Laser_Heat_Modelling\ExperimentData.cpp|584|warning: unused variable 'a' [-Wunused-variable]|
D:\Laser_Soldering\Laser_Heat_Modelling\Laser_Heat_Modelling\ExperimentData.cpp||In member function 'double SimulationData::ShootToThrill(double)':|
D:\Laser_Soldering\Laser_Heat_Modelling\Laser_Heat_Modelling\ExperimentData.cpp|1058|warning: unused variable 'zdim' [-Wunused-variable]|
D:\Laser_Soldering\Laser_Heat_Modelling\Laser_Heat_Modelling\ExperimentData.cpp||In member function 'void SimulationData::StartCalculation(unsigned int)':|
D:\Laser_Soldering\Laser_Heat_Modelling\Laser_Heat_Modelling\ExperimentData.cpp|1660|warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]|
D:\Laser_Soldering\Laser_Heat_Modelling\Laser_Heat_Modelling\ExperimentData.cpp|1674|warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]|
D:\Laser_Soldering\Laser_Heat_Modelling\Laser_Heat_Modelling\ExperimentData.cpp|1692|warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]|
D:\Laser_Soldering\Laser_Heat_Modelling\Laser_Heat_Modelling\thermo.hpp|13|warning: #pragma once in main file|
obj\Debug\ConfigExperiment.o||No such file or directory|
obj\Debug\ConfigSample.o||No such file or directory|
||=== Build failed: 2 error(s), 15 warning(s) (0 minute(s), 5 second(s)) ===|
Beta Was this translation helpful? Give feedback.
All reactions