Replies: 4 comments 2 replies
-
How many cells do you have in your simulation? Can you share your input deck? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I used this command : And it used all of 32 cpu |
Beta Was this translation helpful? Give feedback.
1 reply
-
begin:constant
lambdalaser = 1030.0 * nano
ne0 = 2.5e23
W_M = 30.0e-6 #in meter
r0 = 1.2 * 30.0e-6
re = 2.8179403229e-15
s1 = (1.0/(pi * re * W_M * W_M))*(1.0*y/W_M)^(10) + ne0
s2 = 1.0271e24
Wp02 = (ne0*qe*qe)/(me*epsilon0)
WL2 = (4*pi*pi*c*c)/(lambdalaser*lambdalaser)
Vg = (1-Wp02/(2*WL2)-(2*c*c)/(WL2*W_M*W_M))*c
end:constant
begin:control
dlb_threshold=1
nx = 43689 #dx=1030e-9/10 nx=4500e-6/dx
ny = 194 #dy=1030e-9/2.5 ny=80e-6/dy
t_end = 1666667 * femto
x_min = 0.0 * micro
x_max = 4500.0 * micro
y_min = -40.0 * micro
y_max = 40.0 * micro
stdout_frequency = 100
end:control
begin:boundaries
bc_x_min = simple_laser
bc_x_max = open
bc_y_min = open
bc_y_max = open
end:boundaries
begin:laser
boundary = x_min
lambda = lambdalaser
intensity_w_cm2 = 1.77e17
profile = gauss(y, 0.0, W_M)
t_profile = gauss(time, 40.0*femto, 16.986436*femto)
t_start = 0.0 * femto
t_end = 80.0 * femto
end:laser
begin:laser
boundary = x_min
lambda = lambdalaser
intensity_w_cm2 = 8.49e16
profile = gauss(y, 0.0, W_M)
t_profile = gauss(time, 2780*femto, 424.6609*femto)
t_start = 1780 * femto
t_end = 3780 * femto
end:laser
begin:species
name = electron
charge = -1.0
mass = 1.0
temp = 58023.0 #equal to 5 electron volt
density = if((y lt 36.0e-6) or (y gt -36.0e-6), s1 , s2)
npart_per_cell = 5
end:species
begin:window
move_window = T
window_v_x = Vg
window_start_time = 16780.0e-15
bc_x_min_after_move = open
bc_x_max_after_move = open
end:window
begin:output
name = normal
file_prefix = normal
use_offset_grid=T
dt_snapshot = 2000.0 * femto
poynt_flux = always
grid = always
ex = always
ey = always
number_density = always
end:output
begin:output
name = restart
file_prefix = restart
restartable = T
dt_snapshot = 60000.0 * femto
end:output
#
#
#
#
#
#
#
#
#
#
…On Thu, Feb 13, 2025 at 8:12 PM Tom Goffrey ***@***.***> wrote:
Note that having to do this indicates that mpirun doesn't think there are
32 physical CPUs.
—
Reply to this email directly, view it on GitHub
<#777 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BO2DGEITUBERVSBX6A7ITGL2PTDONAVCNFSM6AAAAABW4TUNVGVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTEMJZGAZTINQ>
.
You are receiving this because you modified the open/close state.Message
ID: ***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi
I sent you may input.deck
On Thu, Feb 13, 2025 at 11:52 PM Iman Barahimi ***@***.***>
wrote:
… begin:constant
lambdalaser = 1030.0 * nano
ne0 = 2.5e23
W_M = 30.0e-6 #in meter
r0 = 1.2 * 30.0e-6
re = 2.8179403229e-15
s1 = (1.0/(pi * re * W_M * W_M))*(1.0*y/W_M)^(10) + ne0
s2 = 1.0271e24
Wp02 = (ne0*qe*qe)/(me*epsilon0)
WL2 = (4*pi*pi*c*c)/(lambdalaser*lambdalaser)
Vg = (1-Wp02/(2*WL2)-(2*c*c)/(WL2*W_M*W_M))*c
end:constant
begin:control
dlb_threshold=1
nx = 43689 #dx=1030e-9/10 nx=4500e-6/dx
ny = 194 #dy=1030e-9/2.5 ny=80e-6/dy
t_end = 1666667 * femto
x_min = 0.0 * micro
x_max = 4500.0 * micro
y_min = -40.0 * micro
y_max = 40.0 * micro
stdout_frequency = 100
end:control
begin:boundaries
bc_x_min = simple_laser
bc_x_max = open
bc_y_min = open
bc_y_max = open
end:boundaries
begin:laser
boundary = x_min
lambda = lambdalaser
intensity_w_cm2 = 1.77e17
profile = gauss(y, 0.0, W_M)
t_profile = gauss(time, 40.0*femto, 16.986436*femto)
t_start = 0.0 * femto
t_end = 80.0 * femto
end:laser
begin:laser
boundary = x_min
lambda = lambdalaser
intensity_w_cm2 = 8.49e16
profile = gauss(y, 0.0, W_M)
t_profile = gauss(time, 2780*femto, 424.6609*femto)
t_start = 1780 * femto
t_end = 3780 * femto
end:laser
begin:species
name = electron
charge = -1.0
mass = 1.0
temp = 58023.0 #equal to 5 electron volt
density = if((y lt 36.0e-6) or (y gt -36.0e-6), s1 , s2)
npart_per_cell = 5
end:species
begin:window
move_window = T
window_v_x = Vg
window_start_time = 16780.0e-15
bc_x_min_after_move = open
bc_x_max_after_move = open
end:window
begin:output
name = normal
file_prefix = normal
use_offset_grid=T
dt_snapshot = 2000.0 * femto
poynt_flux = always
grid = always
ex = always
ey = always
number_density = always
end:output
begin:output
name = restart
file_prefix = restart
restartable = T
dt_snapshot = 60000.0 * femto
end:output
#
#
#
#
#
#
#
#
#
#
On Thu, Feb 13, 2025 at 8:12 PM Tom Goffrey ***@***.***>
wrote:
> Note that having to do this indicates that mpirun doesn't think there are
> 32 physical CPUs.
>
> —
> Reply to this email directly, view it on GitHub
> <#777 (reply in thread)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/BO2DGEITUBERVSBX6A7ITGL2PTDONAVCNFSM6AAAAABW4TUNVGVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTEMJZGAZTINQ>
> .
> You are receiving this because you modified the open/close state.Message
> ID: ***@***.***
> com>
>
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I ran EPOCH on a system with 16-cpu and it use only 8-cpu while I ran it with
mpirun -np 16 ./epoch2d
How can I edit it to use all 16-cpu?
I added dlb_threshold=1 in the input.deck
Beta Was this translation helpful? Give feedback.
All reactions