diff --git a/Cohomology/indheat.geo b/Cohomology/indheat.geo index 1e5e857bc80743fd5598d693a78511957b62174d..74ee115d332a4147a1c03075eb51eebd8fe7e0aa 100644 --- a/Cohomology/indheat.geo +++ b/Cohomology/indheat.geo @@ -1,4 +1,6 @@ -lc = 0.02; // Mesh characteristic length +DefineConstant[ + lc = {TotalMemory <= 2048 ? 0.1 : 0.02, Name "Mesh size"} +]; lc2 = lc; lc3 = 0; front3d = 0; // Set to 1 if Frontal 3D mesh algorithm is used @@ -186,4 +188,3 @@ Cohomology(1) {{AIR, COIL},{}}; // Cohomology computation for the A-V method Cohomology(1) {{COIL},{IN, OUT}}; Cohomology(1) {{TUBE},{}}; - diff --git a/Cohomology/infos.png b/Cohomology/infos.png new file mode 100644 index 0000000000000000000000000000000000000000..d3c22d47a9660324897c46119962f090dcb47293 Binary files /dev/null and b/Cohomology/infos.png differ diff --git a/Cohomology/infos.xml b/Cohomology/infos.xml new file mode 100644 index 0000000000000000000000000000000000000000..1d255f5c7fe5e2cf491ee5afca9ed607c226f13b --- /dev/null +++ b/Cohomology/infos.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="utf-8"?> + +<models> + <model> + <title>Induction heating</title> + <summary>3D inductor with cohomology solver</summary> + <file type="pro">indheat.pro</file> + <preview type="png">infos.png</preview> + <url>https://gitlab.onelab.info/doc/models/-/wikis/Magnetodynamics-with-cohomology-conditions</url> + </model> +</models>