COMSOL help out of memory!


by juvel006
Tags: comsol, memory
juvel006
juvel006 is offline
#1
Feb18-10, 11:21 AM
P: 8
I'm running out of memory on my model help! 3D not axisymmetric! Pictures of geometry and mesh attached. Any recommendations on how to make this possible? This is volumetric flow through a cylinder with a thin membrane attached that is porous and utilizes brinkman's equations.
Attached Thumbnails
GEOM.jpg   GEOMmesh.jpg  
Phys.Org News Partner Science news on Phys.org
NASA's space station Robonaut finally getting legs
Free the seed: OSSI nurtures growing plants without patent barriers
Going nuts? Turkey looks to pistachios to heat new eco-city
juvel006
juvel006 is offline
#2
Feb18-10, 11:23 AM
P: 8
PS: ~ 156933 elements in this domain.
Topher925
Topher925 is offline
#3
Feb18-10, 11:36 AM
Topher925's Avatar
P: 1,672
You have two options, reduce the size of your mesh, or buy more RAM. You could also create a swap file but that will significantly increase the time required to solve the model.

juvel006
juvel006 is offline
#4
Feb18-10, 11:40 AM
P: 8

COMSOL help out of memory!


I would be willing to try a swap file due to the time I have. I'll start looking at that but are there any references on how to do this in COMSOL? Thanks!
minger
minger is offline
#5
Feb18-10, 11:57 AM
Sci Advisor
P: 1,498
First, I'd HIGHLY recommend using an O-Grid hex mesh. There's no need for tets on a simple geometry like that. You're topology is a square(ish) rectangular prism through the center of the cylinder. Then just basically draw radial lines outward from the corners.

This will let you define exactly how you want the mesh. More importantly, you'll reduce the number of elements for the same quality mesh.

Next, as mentioned you can typically allow swap files or other memory management tools. These are sometimes runtime options, or specified in an input file somewhere. Do a search through the Comsol help to find that stuff.

Lastly, 160k elements is not a lot. If your machine can't handle that kind of run, then as Topher mentioned, get some more RAM. RAM is dirt cheap and you'd be surprised the increases in performance you can get.
juvel006
juvel006 is offline
#6
Feb18-10, 12:13 PM
P: 8
Any idea on how to do that in COMSOL? I'm very new (< 1 week) at using it. Thanks again
minger
minger is offline
#7
Feb18-10, 02:31 PM
Sci Advisor
P: 1,498
You've been using Comsol for less than a week and you're solving a solution involving a porous membrane? I'd say you're out of your ability level already.

Either way, for a better mesh like I mentioned there are a couple methods. For the ANSYS analogy (since that's what I know), I would probably just create the model by hand. Then I could sweep the volumes as needed with proper inflation or spacing.

Alternatively we could bring the geometry into a mesher such as ICEM and do the work in there.
Topher925
Topher925 is offline
#8
Feb18-10, 03:14 PM
Topher925's Avatar
P: 1,672
Comsol doesn't have a good meshing tool. If you want a O-grid hex mesh you will probably have to create it manually or with another software.


Register to reply

Related Discussions
Comsol Matlab memory usage Math & Science Software 1
COMSOL : a problem about self-varying(!) subdomain IDs in Comsol with Matlab Math & Science Software 2
export data from COMSOL via the comsol script Programming & Computer Science 0
Verbal memory/semantic memory, also long-term memory Social Sciences 0