From a55711ed30df7bcc38d3a25d62a3989ef667f534 Mon Sep 17 00:00:00 2001 From: Mika Malinen Date: Wed, 12 Feb 2025 11:37:56 +0200 Subject: [PATCH] Correct typos --- fem/src/SOLVER.KEYWORDS | 1 - fem/src/modules/StatElecSolveVec.F90 | 12 ++++++------ fem/tests/ComponentResistance/case.sif | 1 - 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/fem/src/SOLVER.KEYWORDS b/fem/src/SOLVER.KEYWORDS index 6d27f454f0..421d6a0cb3 100644 --- a/fem/src/SOLVER.KEYWORDS +++ b/fem/src/SOLVER.KEYWORDS @@ -1735,7 +1735,6 @@ bc:logical: '1d fluid coupling' bc:logical: '1d structure coupling' body:logical: 'gap down mask' body:logical: 'gap up mask' -material:real: 'elecric conductivity' simulation:integer: 'max output partition' simulation:integer: 'max output thread' simulation:logical: 'additive namespaces' diff --git a/fem/src/modules/StatElecSolveVec.F90 b/fem/src/modules/StatElecSolveVec.F90 index 48a47c3ff5..81829bdae2 100644 --- a/fem/src/modules/StatElecSolveVec.F90 +++ b/fem/src/modules/StatElecSolveVec.F90 @@ -112,13 +112,13 @@ SUBROUTINE StatElecSolver_init( Model,Solver,dt,Transient ) PostActive = .TRUE. END IF - IF( ListGetLogical(Params,'Calculate Elecric Flux',Found) ) THEN + IF( ListGetLogical(Params,'Calculate Electric Flux',Found) ) THEN IF( CalculateElemental ) & CALL ListAddString( Params,NextFreeKeyword('Exported Variable ',Params), & - '-dg Elecric Flux e[Elecric Flux e:'//I2S(dim)//']' ) + '-dg Electric Flux e[Electric Flux e:'//I2S(dim)//']' ) IF( CalculateNodal ) & CALL ListAddString( Params,NextFreeKeyword('Exported Variable ',Params), & - 'Elecric Flux[Elecric Flux:'//I2S(dim)//']' ) + 'Electric Flux[Electric Flux:'//I2S(dim)//']' ) PostActive = .TRUE. END IF @@ -170,7 +170,7 @@ SUBROUTINE StatElecSolver_init( Model,Solver,dt,Transient ) CALL ListWarnUnsupportedKeyword('solver','adaptive mesh redinement',FatalFound=.TRUE.) CALL ListWarnUnsupportedKeyword('body force','piezo material',FatalFound=.TRUE.) IF( ListCheckPresentAnyBC(Model,'infinity bc') ) THEN - CALL Fatal('StatElecSolver_init','Use "Elecric Infinity BC" instead of "Infinity BC"') + CALL Fatal('StatElecSolver_init','Use "Electric Infinity BC" instead of "Infinity BC"') END IF ! If no fields need to be computed do not even call the _post solver! @@ -807,8 +807,8 @@ SUBROUTINE StatElecSolver_post( Model,Solver,dt,Transient ) ! Electric current: type 2, components 2:4 PostVars(4) % Var => VariableGet( Mesh % Variables, 'Nodal Electric Flux') PostVars(4) % NodalField = .TRUE. - PostVars(5) % Var => VariableGet( Mesh % Variables, 'Elecric Flux') - PostVars(6) % Var => VariableGet( Mesh % Variables, 'Elecric Flux e') + PostVars(5) % Var => VariableGet( Mesh % Variables, 'Electric Flux') + PostVars(6) % Var => VariableGet( Mesh % Variables, 'Electric Flux e') PostVars(4:6) % FieldType = 2 ! Electric field: type 3, components 5-7 diff --git a/fem/tests/ComponentResistance/case.sif b/fem/tests/ComponentResistance/case.sif index 031e4fe2ea..7892fc54ec 100644 --- a/fem/tests/ComponentResistance/case.sif +++ b/fem/tests/ComponentResistance/case.sif @@ -79,7 +79,6 @@ End Material 1 Density = 1.0 Electric Conductivity = Real 1.0e3 - Elecric Conductivity = Real 1.0e3 End Component 1