Skip to content
Snippets Groups Projects
Commit 7d938382 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

limit smallest radius

parent a428ec5c
No related branches found
No related tags found
No related merge requests found
Pipeline #7847 passed
...@@ -226,3 +226,4 @@ EndIf ...@@ -226,3 +226,4 @@ EndIf
Geometry.OldNewReg = 1; Geometry.OldNewReg = 1;
Geometry.AutoCoherence = 1; Geometry.AutoCoherence = 1;
//View.RangeType = a
...@@ -104,7 +104,7 @@ Function { ...@@ -104,7 +104,7 @@ Function {
val_Current~{2} = -1. ; val_Current~{2} = -1. ;
// avec couplage circuit: // avec couplage circuit:
DefineConstant[ Val_Ein = {100., Name "Input/V1 (V)"}] ; DefineConstant[ Val_Ein = {100., Name "Input/V1 (V)"}] ;
DefineConstant[ R_charge = {1000, Name "Input/R2 (Ohms)"}]; DefineConstant[ R_charge = {1000, Min 0.1, Max 10000, Step 1, Name "Input/R2 (Ohms)"}];
// Will be used only if Core in DomainC_Mag // Will be used only if Core in DomainC_Mag
DefineConstant[ sigmaCore = {2.5e7/1000, Name "Input/sigma", Label "sigma (S/m)"} ] ; DefineConstant[ sigmaCore = {2.5e7/1000, Name "Input/sigma", Label "sigma (S/m)"} ] ;
......
...@@ -25,7 +25,7 @@ DefineConstant[ ...@@ -25,7 +25,7 @@ DefineConstant[
Name StrCat[catParam1,"1Length of Domain [cm]"]}, Name StrCat[catParam1,"1Length of Domain [cm]"]},
W = { 4, Min 1, Max 100, Step 1, W = { 4, Min 1, Max 100, Step 1,
Name StrCat[catParam1,"2Width of Domain [cm]"]}, Name StrCat[catParam1,"2Width of Domain [cm]"]},
R = { 6, Min 1, Max 100, Step 1, R = { 6, Min W/2+0.1, Max 100, Step 1, ReadOnlyRange 1,
Name StrCat[catParam1,"3Radius at bend [cm]"]}, Name StrCat[catParam1,"3Radius at bend [cm]"]},
res = { 0.5, Min 0.1, Max 5, Step 0.1, res = { 0.5, Min 0.1, Max 5, Step 0.1,
Name StrCat[catParam3,"1Resolution of grid [cm]"]} Name StrCat[catParam3,"1Resolution of grid [cm]"]}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment