Is My Laptop Causing Memory Issues in COMSOL Multiphysics Simulations?

  • Thread starter Thread starter labd0001
  • Start date Start date
  • Tags Tags
    Comsol
Click For Summary
SUMMARY

The discussion centers on memory issues encountered while using COMSOL Multiphysics for simulating an eddy current sensor. The user, equipped with a 1.5 GHz Intel processor and 1.2 GB RAM, faces out-of-memory warnings when attempting to mesh a plate with a required mesh size of 0.05 mm. Experts recommend reducing the mesh size to around 100,000 elements, utilizing larger elements in non-critical areas, and adjusting COMSOL’s default settings for higher order elements to optimize memory usage and simulation performance.

PREREQUISITES
  • Understanding of COMSOL Multiphysics meshing techniques
  • Knowledge of mesh density options in finite element analysis
  • Familiarity with the concept of skin depth in electromagnetic simulations
  • Basic skills in optimizing computational resources for simulations
NEXT STEPS
  • Learn how to implement COMSOL Multiphysics mesh density options effectively
  • Research techniques for partitioning models in finite element analysis
  • Explore the impact of element order on simulation accuracy in COMSOL
  • Investigate mapped meshing and interactive meshing tools in COMSOL
USEFUL FOR

This discussion is beneficial for students, engineers, and researchers using COMSOL Multiphysics, particularly those dealing with memory management and optimization in finite element simulations.

labd0001
Messages
9
Reaction score
0
Hello,

I m a student using COMSOL Multiphysics. I have to admit that I am new to this software but it is giving me loads of problems. I am trying to model an eddy current sensor by modelling the coil and a plate (mild steel). The size of the plate is 17mmx17mmx3mm but I had no problem with the geometry.
The skin depth at 100khz is 0.1mm and therefore the mesh size has to be at least 0.05mm. Unfortunately when I mesh the plate, a warning is popping up stating that it is out of memory. I am using a 1.5ghz processor(intel) and 1.2G ram. do you think that the problem is the laptop?

Any replies are greatly appreciated
thanks
 
Engineering news on Phys.org
The mesh size only has to be small in the vicinity of the surface effect. Meshing the entire part using tiny elements is a waste of memory and WAY overkill. I estimate that if you use 0.05mm elements across the entire part, you'll end up with a mesh of about 7 million elements- far outside the capability of a standard laptop or desktop computer. You'll probably want to keep your model down to 100,000 elements or so to ensure it solves in a reasonable amount of time and doesn't run out of memory.

I would recommend resizing the mesh so that the elements are small within the surface phenomenon's region, and you can use larger elements in the middle of the part.
 
Also, comsol by default typically uses higher order elements --> reduce the order. Partition the model appropriately if possible to enable higher mesh gradients. Use the comsol's mesh density options for point/boundary/subdomain. If it still presents problems, try the mapped meshing and interactive meshing tools to accurately specify element numbers at critical areas.

Also, it may be an option to do opposite what suggested at first and use "much higher" order elements and model larger areas with "a couple" of elements still with fair accuracy due to the complexity of the test/interpolation functions. In some cases yields best accuracy with fewest dof.
 

Similar threads

Replies
5
Views
4K
Replies
3
Views
7K
  • · Replies 3 ·
Replies
3
Views
12K
Replies
10
Views
4K
  • · Replies 16 ·
Replies
16
Views
6K
  • · Replies 1 ·
Replies
1
Views
11K
  • · Replies 5 ·
Replies
5
Views
3K
Replies
23
Views
6K