forked from idaholab/moose
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New error when two different ICs are specified
-Error thrown if an initial_condition parameter is provided along with an initial_from_file_var parameter for the same variable. closes idaholab#20944
- Loading branch information
1 parent
2df0918
commit e6be134
Showing
3 changed files
with
63 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
[Mesh] | ||
[fmg] | ||
type = FileMeshGenerator | ||
file = part1_out.e | ||
use_for_exodus_restart = true | ||
[] | ||
[] | ||
|
||
[Variables] | ||
[v] | ||
family = MONOMIAL | ||
order = CONSTANT | ||
fv = true | ||
initial_from_file_var = v | ||
initial_condition = 0 | ||
[] | ||
[lambda] | ||
family = SCALAR | ||
order = FIRST | ||
initial_from_file_var = lambda | ||
[] | ||
[] | ||
|
||
[FVKernels] | ||
[advection] | ||
type = FVElementalAdvection | ||
variable = v | ||
velocity = '1 0 0' | ||
[] | ||
[lambda] | ||
type = FVScalarLagrangeMultiplier | ||
variable = v | ||
lambda = lambda | ||
phi0 = 1 | ||
[] | ||
[] | ||
|
||
[Executioner] | ||
type = Steady | ||
petsc_options_iname = '-snes_max_it' | ||
petsc_options_value = '0' | ||
nl_abs_tol = 1e-10 | ||
[] | ||
|
||
[Outputs] | ||
[out] | ||
type = Exodus | ||
execute_on = 'final' | ||
[] | ||
[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters