[BCs]
[./left_dirichlet]
type = DirichletBC
value = 1.0
variable = diffused
boundary = left
[../]
[./right_dirichlet]
type = DirichletBC
value = 1.0
variable = diffused
boundary = right
[../]
[]
[Variables]
[./diffused]
order = FIRST
family = LAGRANGE
# Use the initial Condition block underneath the variable
# for which we want to apply this initial condition
[./InitialCondition]
type = ConstantIC
coefficient = 2.0
[../]
[../]
[]
--
You received this message because you are subscribed to the Google Groups "zapdos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to zapdos-users...@googlegroups.com.
To post to this group, send email to zapdos...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/zapdos-users/e2acf029-3496-4f27-ba8f-77072d748d75%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
[BCs]
[./dirichlet]
type = DirichletBC
value = 1.0
variable = diffused
boundary = 'left right'
[../]
[]
To view this discussion on the web visit https://groups.google.com/d/msgid/zapdos-users/CANxnQmNXu0xmt7L1d%2BcH9jjyfucKO7V2zLJygWZi3KEnz_4Xig%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "zapdos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to zapdos-users...@googlegroups.com.
To post to this group, send email to zapdos...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/zapdos-users/bbb468d3-2464-4184-9e5e-3c6d2bbaeadc%40googlegroups.com.
[Executioner]
type = Transient
end_time = 1e-1 . #I consider it as the whole simulation time, is it correct?
# end_time = 10
petsc_options = '-snes_converged_reason -snes_linesearch_monitor'
# petsc_options = '-snes_test_display'
solve_type = NEWTON
petsc_options_iname = '-pc_type -pc_factor_shift_type -pc_factor_shift_amount -ksp_type -snes_linesearch_minlambda'
petsc_options_value = 'lu NONZERO 1.e-10 preonly 1e-3'
# petsc_options_iname = '-pc_type -sub_pc_type'
# petsc_options_value = 'asm lu'
# petsc_options_iname = '-snes_type'
# petsc_options_value = 'test'
nl_rel_tol = 1e-4 #what does it represent?
nl_abs_tol = 7.6e-5 #what does it represent?
dtmin = 1e-12
l_max_its = 20
[./TimeStepper]
type = IterationAdaptiveDT
cutback_factor = 0.4
dt = 1e-11 #I consider it as the time step, is it correct?
# dt = 1.1
growth_factor = 1.2
optimal_iterations = 15
[../]
[]
If I understand correctly, then I can choose any end time and time step freely or it has some conditions?
Because I tried to change the end_time: 10e-4 and dt= 10e-10 and it gives me this error
Solve Did NOT Converge!
*** ERROR ***
Solve failed and timestep already at dtmin, cannot continue!
after 39 time step with the following message at the first time step:
Line search: objective function at lambdas = 1. is Inf or Nan, cutting lambda
Line search: objective function at lambdas = 0.5 is Inf or Nan, cutting lambda
Line search: objective function at lambdas = 0.25 is Inf or Nan, cutting lambda
Line search: objective function at lambdas = 0.125 is Inf or Nan, cutting lambda
Line search: objective function at lambdas = 0.0625 is Inf or Nan, cutting lambda
Line search: objective function at lambdas = 0.03125 is Inf or Nan, cutting lambda
Line search: objective function at lambdas = 0.015625 is Inf or Nan, cutting lambda
Line search: objective function at lambdas = 0.0078125 is Inf or Nan, cutting lambda
Line search: gnorm after quadratic fit 8.856854256170e+10
Line search: Quadratically determined step, lambda=3.9062500000000002e-04
Best
Mohamed
Dear all--I am a bit confused about the time step in the input file at the 1d_dc example, could you please clarify my queries that appear in red below?[Executioner]
type = Transient
end_time = 1e-1 . #I consider it as the whole simulation time, is it correct?
# end_time = 10
petsc_options = '-snes_converged_reason -snes_linesearch_monitor'
# petsc_options = '-snes_test_display'
solve_type = NEWTON
petsc_options_iname = '-pc_type -pc_factor_shift_type -pc_factor_shift_amount -ksp_type -snes_linesearch_minlambda'
petsc_options_value = 'lu NONZERO 1.e-10 preonly 1e-3'
# petsc_options_iname = '-pc_type -sub_pc_type'
# petsc_options_value = 'asm lu'
# petsc_options_iname = '-snes_type'
# petsc_options_value = 'test'
nl_rel_tol = 1e-4 #what does it represent?
nl_abs_tol = 7.6e-5 #what does it represent?
dtmin = 1e-12
l_max_its = 20
[./TimeStepper]
type = IterationAdaptiveDT
cutback_factor = 0.4
dt = 1e-11 #I consider it as the time step, is it correct?
# dt = 1.1
growth_factor = 1.2
optimal_iterations = 15
[../]
[]
If I understand correctly, then I can choose any end time and time step freely or it has some conditions?
Because I tried to change the end_time: 10e-4 and dt= 10e-10 and it gives me this error
Solve Did NOT Converge!
*** ERROR ***
Solve failed and timestep already at dtmin, cannot continue!
after 39 time step with the following message at the first time step:
Line search: objective function at lambdas = 1. is Inf or Nan, cutting lambda
Line search: objective function at lambdas = 0.5 is Inf or Nan, cutting lambda
Line search: objective function at lambdas = 0.25 is Inf or Nan, cutting lambda
Line search: objective function at lambdas = 0.125 is Inf or Nan, cutting lambda
Line search: objective function at lambdas = 0.0625 is Inf or Nan, cutting lambda
Line search: objective function at lambdas = 0.03125 is Inf or Nan, cutting lambda
Line search: objective function at lambdas = 0.015625 is Inf or Nan, cutting lambda
Line search: objective function at lambdas = 0.0078125 is Inf or Nan, cutting lambda
Line search: gnorm after quadratic fit 8.856854256170e+10
Line search: Quadratically determined step, lambda=3.9062500000000002e-04
Best
Mohamed
On Monday, January 28, 2019 at 5:59:17 PM UTC+1, csde...@ncsu.edu wrote:Good afternoon,Yes, you can use BOLSIG+ for the transport coefficients but just keep in mind a few things:1. BOLSIG+ gives the mobility and diffusion coefficient as mu*N and D*N, so you will need to divided them by your gas density before inputting them into Zapdos.2. BOLSIG+ only gives the Townsend ionization and attachment coefficient. BOLSIG+ does give all the rate coefficients you might need (elastic collision, ionization, and excitation), so you can use the formula alpha=k/(mu*(E/N)) to convert rate coefficients to Townsend coefficients.I mentioned CRANE because I was unsure about which reactions you want to include. If you are only looking at elastic collisions, ionization and excitation, you should be fine. If you wanted to include more metastable reactions later, you might want to look at including CRANE.Also, I saw your other post about BOLSIG+ and unfortunately I have only used it with Windows which has simplified user interface.Thank you,Corey DeChant
--
You received this message because you are subscribed to the Google Groups "zapdos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to zapdos-users...@googlegroups.com.
To post to this group, send email to zapdos...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/zapdos-users/37a094d8-d631-4c62-b913-5fa52e318253%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/zapdos-users/ba956cc7-6a6a-43cb-9f89-4a2e5c43bade%40googlegroups.com.