Hi,
I can't find any example which handle a thermal simulation with amr time-stepping strategy.
When activating the amr, the vtu meshes (generated using ResultOutputs solver) do not contains the adapted mesh (only the original). How to make the adapted mesh be the current mesh ?
Thanks.
Transient mesh refinement for heat equation
-
- Posts: 22
- Joined: 06 Oct 2023, 14:31
- Antispam: Yes
-
- Posts: 2316
- Joined: 25 Jan 2019, 01:28
- Antispam: Yes
Re: Transient mesh refinement for heat equation
16.3 Keywords related to the adaptive solution
Adaptive Save Mesh = Logical True
https://www.nic.funet.fi/pub/sci/physic ... Manual.pdf
Adaptive Save Mesh = Logical True
https://www.nic.funet.fi/pub/sci/physic ... Manual.pdf
-
- Posts: 22
- Joined: 06 Oct 2023, 14:31
- Antispam: Yes
Re: Transient mesh refinement for heat equation
Hi Kevin,
Thanks for helping. I already tried that in the Solver HeatSolve section :
with the following in the Simulation section :
Unfortunately I didn't see the mesh changing.
I have the same problem when using the Timestepping mode :
I'd like to get a coupling adaptative mesh refinement and timestepping strategies.
Thanks.
Thanks for helping. I already tried that in the Solver HeatSolve section :
Code: Select all
!Adaptive Mesh Refinement = True
Adaptive Remesh = False ! cause the mesh is generated with gmsh, so need to use the RGB alogorith
Adaptive Save Mesh = True
Code: Select all
Simulation Type = Transient
Steady State Max Iterations = 5
I have the same problem when using the Timestepping mode :
Code: Select all
Adaptative Timestepping = Logical True
Adaptative Time Error = Real 1.0e-3
Adaptative Min Timestep = Real 0.1
Adaptative Max Timestep = Real 120
Thanks.
Re: Transient mesh refinement for heat equation
Hello,
To get specific advice, it usually helps to post a working example, with sif file, geometry file, and how to generate the mesh. For gmsh, add the *.msh file, or add the *.geo file with meshing instructions. Compress the files into an archive and attach to your post. The forum allows up to 3 attachments per post, up to 1 MB per attachment.
Rich.
To get specific advice, it usually helps to post a working example, with sif file, geometry file, and how to generate the mesh. For gmsh, add the *.msh file, or add the *.geo file with meshing instructions. Compress the files into an archive and attach to your post. The forum allows up to 3 attachments per post, up to 1 MB per attachment.
Rich.
-
- Posts: 22
- Joined: 06 Oct 2023, 14:31
- Antispam: Yes
Re: Transient mesh refinement for heat equation
Hi Rich,
Sorry, i'm new in this forum
Here the attached zip file. The mesh was generated with gmsh and converted with "ElmerGrid 14 2" and apply ViewFactors
Thanks
Sorry, i'm new in this forum
Here the attached zip file. The mesh was generated with gmsh and converted with "ElmerGrid 14 2" and apply ViewFactors
Thanks
- Attachments
-
- case.zip
- (45.61 KiB) Downloaded 37 times
Re: Transient mesh refinement for heat equation
Hello Pierre,
Attached is an archive with two modified sif files, one without AMR, the other with AMR.
Hope this helps.
Rich.
Edit: the two sif files are for steady state solutions.
Attached is an archive with two modified sif files, one without AMR, the other with AMR.
Hope this helps.
Rich.
Edit: the two sif files are for steady state solutions.
- Attachments
-
- HeatEqAutoMeshRefinement.zip
- (134.79 KiB) Downloaded 32 times
Last edited by Rich_B on 13 Oct 2023, 17:30, edited 1 time in total.
Re: Transient mesh refinement for heat equation
and here are three screenshots, showing auto refinement steps zero, one, and then step ten.
Rich.
Rich.
Re: Transient mesh refinement for heat equation
Hello,
Attached are two sif files that use the original mesh files. These two sif files are transient solutions, one without amr, the other with amr.
Rich.
Attached are two sif files that use the original mesh files. These two sif files are transient solutions, one without amr, the other with amr.
Rich.
- Attachments
-
- case-trans-amr-yes.sif
- (3.93 KiB) Downloaded 32 times
-
- case-trans-amr-no.sif
- (3.95 KiB) Downloaded 32 times