Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.
Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
0% CPU but 100% RAM during "Assembling sparsity pattern"
Posted Feb 25, 2011, 11:49 a.m. EST Mesh, Studies & Solvers Version 4.1 16 Replies
Please login with a confirmed email address before reporting spam
I am stuck at 15% in the "Assembling sparsity pattern" process. 93% of my physical memory is taken by COMSOL (all 24GB of it!!!!) but 0% of my CPU is being used....which is rather weird to me. Is COMSOL doing anything at all or is "subtly" crashed?
If the CPU is not being used then surely the simulation is not running right? Or am I missing something?
Should I wait or should I stop it?
Thanks.
Please login with a confirmed email address before reporting spam
It happened to me too...
Please login with a confirmed email address before reporting spam
Thanks for the input. I guess you are right since my 3D model has 4,000,000 elements.
(see Log in attachment)
I'll launch it and go for the week-end! :)
It would have been nice though to have some signals showing that the process is working and not just stuck (it was stuck at 15% for at least 1 hour).
Thanks again.
Attachments:
Please login with a confirmed email address before reporting spam
Please login with a confirmed email address before reporting spam
I already did the simulation in 2D but it's less representative of a real dome.
In 2D I used a cylindrical coord. system to map the material properties on the layers and in 3D I'm using a spherical coord. system.
Please login with a confirmed email address before reporting spam
Please login with a confirmed email address before reporting spam
But isnt 2D-axi cylindrical coordinates by default ? Or what else is it ?
Or was it spherical coordinates you were looking for ?
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
I'm also working sometimes in 2D-axi and the coordinates are r and z, just like x and y. I don't honestly know if one can switch to cylindrical/polar/whatever...
Please login with a confirmed email address before reporting spam
yes but "r and z" are cylindrical coordinates by design, no ?
with the axis at r=0 along Z
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
Please login with a confirmed email address before reporting spam
which one ?
"phi" (0 <= phi =< 2*pi) the "loop angle" out of the paper is there (check the equations) but the physics is assumed to be independent from the phi angle.
I believe it's the spherical view he refers to, for which we need to add a spherical coordiante of the type:
rr = sqrt(r^2+z^2) rr>=0
psi = atan2(z,r) -pi/2 < psi < pi/2
--
Good luck
Ivar
Please login with a confirmed email address before reporting spam
Thanks for the discussion about the coord. ;)
2D-axi: Yes, the phi revolving around the z-axis is there but r is only a normal x-coord (that makes sense since for a cylinder).
No, what I'm looking for is creating a dome (think like a half empty sphere) made of layers of composites. My first attempt in 2D-axi was to create the arc of the dome, centered at (0,0) and revolving around z-axis to create the half empty sphere BUT there was no secondary coordinate system I could use to map my material properties along the arc of the sphere.
I tried to map a coordinate system by using:
r = (R^2+Z^2)^0.5
theta = arctan (Z/R)
The problem I get is that the theta equation is not accepted, saying that COMSOL is expecting something giving out a length [m] and not something giving out an angle.
Anyway, long story short, now I'm in 3D with my huge mesh...I reworked it and now I reduced from 4 millions elements to 1 million.
There might be some problems at one point due to low elements density between the composites plies but I can't do otherwise.
Please login with a confirmed email address before reporting spam
I am not sure how you mesh that hollow half sphere, but I can't see how you would not be able to reduce the number of elements much further. In the attached screenshot, a quarter of one ply of your structure is meshed with 750 elements (and you could use a coarser mesh in the theta direction), while using 5 elements through the thickness of the ply, which should be plenty. That's 3,000 elements per ply for the entire structure. I can't imagine that you have 300+ plies.
What am I missing?
Jeff
Attachments:
Please login with a confirmed email address before reporting spam
Also, doesn't the top portion of the mesh with very elongated triangles (high aspect ratio and high skewness) could cause problem in the solving process? I've always thought that a good mesh needed to have more or less compact elements?
(Even at 1 million elements, I get a "Out of Memory LU" error...)
Please login with a confirmed email address before reporting spam
The same meshing approach carries over to your hollow half sphere. This is done in the attached file. Notice that I built the geometry by patching together four quarters of the geometry. This introduces internal boundaries that are used for meshing.
Regarding your second question: you can use the Distribution nodes to control the distribution of your mesh; this gives you complete freedom over your mesh distribution. The attached screenshots show this.
Jeff
Attachments:
Please login with a confirmed email address before reporting spam
The problem I encounter is that I cannot make a circular sweep, I always get the following error:
"Sweep path 'circular' is not supported on this geometry".
(It's able to start a sweep when I use the straight line option but it gives a very bad sweep which does not follow my geometry at all).
I find that weird since my geometry is based on a sphere with layers. Could it be that new "layer" option that is problematic?
Or could it be the Boolean operations I used to create a fourth of an empty sphere?
Here is my model included.
If you could point me out in the right direction it would be really appreciated.
Thanks,
Dominique
Attachments:
Please login with a confirmed email address before reporting spam
Please contact COMSOL's tech support team. We can help you from there.
Jeff
Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.