-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #32 from aurora-multiphysics/EdwardPalmer99/Distri…
…buted-Mesh-Transfer-V1 Enable transfer of distributed MOOSE mesh (v1: distributed MOOSE --> MFEMMesh --> MFEMParMesh)
- Loading branch information
Showing
11 changed files
with
158 additions
and
10 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
99 changes: 99 additions & 0 deletions
99
test/tests/unit/distributed_transfers/elemental_var_coupled.i
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,99 @@ | ||
[Mesh] | ||
type = CoupledMFEMMesh | ||
file = gold/cylinder-hex-q2.cpr | ||
dim = 3 | ||
parallel_type=distributed | ||
[] | ||
|
||
[Problem] | ||
type = MFEMProblem | ||
[] | ||
|
||
[Formulation] | ||
type = EBFormulation | ||
e_field_name = electric_field | ||
b_field_name = magnetic_flux_density | ||
magnetic_reluctivity_name = magnetic_reluctivity | ||
magnetic_permeability_name = magnetic_permeability | ||
electric_conductivity_name = electrical_conductivity | ||
[] | ||
|
||
[AuxVariables] | ||
[./dummy_mfem] | ||
type = MFEMVariable | ||
fespace_name = HCurlFESpace | ||
fespace_type = ND | ||
order = SECOND | ||
[../] | ||
[./dummy_moose_elemental] | ||
family = MONOMIAL | ||
order = CONSTANT | ||
[./InitialCondition] | ||
type = FunctionIC | ||
function = 2-x | ||
[../] | ||
[../] | ||
[../] | ||
|
||
[Materials] | ||
[./copper] | ||
type = MFEMConductor | ||
electrical_conductivity_coeff = CopperEConductivity | ||
electric_permittivity_coeff = CopperPermittivity | ||
magnetic_permeability_coeff = CopperPermeability | ||
block = 1 | ||
[../] | ||
[./air] | ||
type = MFEMConductor | ||
electrical_conductivity_coeff = AirEConductivity | ||
electric_permittivity_coeff = AirPermittivity | ||
magnetic_permeability_coeff = AirPermeability | ||
block = 2 | ||
[../] | ||
[] | ||
|
||
[Coefficients] | ||
[./CopperEConductivity] | ||
type = MFEMConstantCoefficient | ||
value = 5.96e7 | ||
[../] | ||
[./CopperPermeability] | ||
type = MFEMConstantCoefficient | ||
value = 1.25663706e-6 | ||
[../] | ||
[./CopperPermittivity] | ||
type = MFEMConstantCoefficient | ||
value = 0.0 | ||
[../] | ||
|
||
[./AirEConductivity] | ||
type = MFEMConstantCoefficient | ||
value = 1.0 | ||
[../] | ||
[./AirPermeability] | ||
type = MFEMConstantCoefficient | ||
value = 1.25663706e-6 | ||
[../] | ||
[./AirPermittivity] | ||
type = MFEMConstantCoefficient | ||
value = 0.0 | ||
[../] | ||
[] | ||
|
||
[Executioner] | ||
type = Transient | ||
dt = 0.5 | ||
start_time = 0.0 | ||
end_time = 0.5 | ||
l_tol = 1e-16 | ||
l_max_its = 1000 | ||
[] | ||
|
||
[Outputs] | ||
exodus=true | ||
[VisItDataCollection] | ||
type = MFEMVisItDataCollection | ||
file_base = OutputData/ElementalCoupledMFEMVarTest | ||
[] | ||
[] |
Binary file added
BIN
+92 Bytes
test/tests/unit/distributed_transfers/gold/cylinder-hex-q2.cpr/2/header.cpr
Binary file not shown.
Binary file added
BIN
+142 KB
test/tests/unit/distributed_transfers/gold/cylinder-hex-q2.cpr/2/split-2-0.cpr
Binary file not shown.
Binary file added
BIN
+142 KB
test/tests/unit/distributed_transfers/gold/cylinder-hex-q2.cpr/2/split-2-1.cpr
Binary file not shown.
Binary file added
BIN
+150 KB
test/tests/unit/distributed_transfers/gold/elemental_var_coupled_out.e
Binary file not shown.
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,11 @@ | ||
[Tests] | ||
design = 'syntax/Problem/index.md' | ||
[./CoupledElementalMFEMVar] | ||
type = 'Exodiff' | ||
input = 'elemental_var_coupled.i' | ||
exodiff = 'elemental_var_coupled_out.e' | ||
max_parallel = 2 | ||
min_parallel = 2 | ||
requirement = 'Apollo shall have the transfer from distributed MOOSE meshes' | ||
[] | ||
[] |
Binary file not shown.
Binary file not shown.
Binary file not shown.