CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > COMSOL

Mesh convergenge study

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By FMDenaro

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 27, 2019, 06:56
Default Mesh convergenge study
  #1
New Member
 
Pernille Petersen
Join Date: Apr 2019
Posts: 5
Rep Power: 6
pernille is on a distinguished road
Hi,
I am doing a mesh convergence study of my transient COMSOL CFD model of the blood flow within the left ventricle of the heart. I have solved the simulation for 7 different mesh sizes (pre-defined in COMSOL).
I choose the velocity magnitude as my metric, and integrate it over the whole domain for each time instance. When I am plotting the result, do I see a tendency; finer mesh, higher velocity. And this tendency does not seems to converge.... The same tendency is seen for pressure and shear rate as metric. If I choose parameters as volume or area, do I not see the tendency. Hence I am pretty sure, it is something flow-related.
I am trying to find out whether i need an even finer mesh, or why it does not converge.

I will attach the numbers of degrees of freedom and the plot showing the tendency.



Any suggestion to the behaviour?

Kind regards,
Pernille
Attached Images
File Type: jpg dofs.jpg (16.6 KB, 34 views)
File Type: jpg intVelocity.jpg (58.0 KB, 38 views)
pernille is offline   Reply With Quote

Old   April 27, 2019, 08:02
Default
  #2
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,764
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
1) I would not use such integral to assess a mesh sensitivity
2) How do you compute such integral?
3) The plot in time seems quite acceptable.


Increasing the number of nodes increases the resolution over the walls so that the velocity profile is better described
FMDenaro is offline   Reply With Quote

Old   April 27, 2019, 08:13
Default
  #3
New Member
 
Pernille Petersen
Join Date: Apr 2019
Posts: 5
Rep Power: 6
pernille is on a distinguished road
Hi FMDenaro


Thank you so much for the fast reply.



1) I would not use such integral to assess a mesh sensitivity
- Okay. Do you have an idea to a better metric?



2) How do you compute such integral?
- I do not know if you know COMSOL, but under DERIVED VALUES, do I calculate an volume integral over the parameter spf.U, for the whole domain.


3) The plot in time seems quite acceptable.
- But would you not suppose that graph should become close an closer?


Again, thank you for taking time to help me.


Kind regards, Pernille.
pernille is offline   Reply With Quote

Old   April 27, 2019, 08:34
Default
  #4
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,764
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
If I see correctly the colours, "fine" and "finer" solutions seems tending towards a convergence
FMDenaro is offline   Reply With Quote

Old   April 28, 2019, 13:14
Default
  #5
Senior Member
 
Lane Carasik
Join Date: Aug 2014
Posts: 692
Rep Power: 14
lcarasik is on a distinguished road
There isn't enough of a significant difference between your grids to suggest convergence is occurring.

Take a look at the Procedure for Estimation and Reporting of Uncertainty Due to Discretization in CFD Applications

http://fluidsengineering.asmedigital...icleid=1434171

Specifically check out the discussion around equations 1 and 2, and the step 2 discussion.
lcarasik is offline   Reply With Quote

Old   April 28, 2019, 19:48
Default
  #6
Member
 
Steve
Join Date: Mar 2018
Location: South Korea
Posts: 69
Rep Power: 8
steve lee is on a distinguished road
I have a experience to simulate COMSOL about 3 months.
COMSOL CFD is really different comparing other major software..(FLUENT, STAR-CCM+, CFD-ACE+...)

I also experienced too serious convergence problem to solve turbulent flow.
I'm not sure that was my immature skill for COMSOL, it was very hard to get convergenced solution.

Last edited by steve lee; April 29, 2019 at 03:36.
steve lee is offline   Reply With Quote

Old   April 29, 2019, 03:23
Default
  #7
New Member
 
Pernille Petersen
Join Date: Apr 2019
Posts: 5
Rep Power: 6
pernille is on a distinguished road
FMDenaro: I see what you mean, but I would also say, that it depends a lot of the time instance. And I do not find a reason for that. If I sum up the values for each graph and plot them as point, is the tendency not that clear (see attached image).

Thank you for your help!


lcarasik: Thank you for the article. That is interessting! COMSOL defines h as the longest edge in the element. The refinement factor between the 7 mesh-size is then: 0.9 0.8 0.8 0.8 0.7 0.7. e.g. not higher than 1.3 as suggested. But still; if I compare Extremely coarse with Coarser, Coarser with Normal, and lastly Normal with Finer, then is the refinement factors higher than 1.3. So the significant these meshes should be high enough to convergence "should" occur for them.. (?)



steve lee: Thanks for your reply. I do not have problems with convergence when solving my simulation (any longer ) . It is the sensisitivy study of different mesh sizes I am dealing with know. COMSOL is my first simulation software. I am yousing the laminar flow physics.
Attached Images
File Type: jpg untitled.jpg (20.5 KB, 11 views)
pernille is offline   Reply With Quote

Old   April 29, 2019, 03:29
Default
  #8
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,764
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
In order to have a quantitative measure that can be meaningful of the trend I suggest that you create a succession of grids, each one refined of a factor of 2 in such a way that the nodes of the coarser grid are projected on the finest. Then check using only these nodes.
pernille likes this.
FMDenaro is offline   Reply With Quote

Old   April 29, 2019, 15:37
Default
  #9
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,668
Rep Power: 65
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
The COMSOL predefined profiles are really great for getting a decent solution, but they have some arbitrarily lengths in them that makes them not so good for a systematic study. Consider defining your own profiles to have more control over the mesh characteristics.

Your solution in time looks not bad. And it doesn't show mesh independence, but there is some mesh sensitivity that is not terrible.

The problem with the volume integrated velocity magnitude is that this quantity doesn't really represent anything characteristic. The only way for the volume integrated velocity magnitude to converge would be if you were truly mesh independent, which is unrealistic even though it is the desire. I generally pick some sought-after-parameter, a quantity you're actually interested in for your analysis and do the grid dependence check based on this. Reason being, you don't actually care that the solution is grid independent everywhere all the time, you should only care that your particular needed quantity is insensitive to the mesh.

Also, laminar flows can be sensitive to gradients and mesh quality (even more so than turbulent flows) because its dominated by the diffusion term. Getting mesh independent laminar solutions everywhere all the time can be quite tricky because you need to carefully refine the grid in many places.

I don't see anything wrong with your results but if it's not mesh independent, then it's not.
LuckyTran is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[snappyHexMesh] Add Mesh Layers doesnt work on the whole surface Kryo OpenFOAM Meshing & Mesh Conversion 13 February 17, 2022 07:34
[snappyHexMesh] snappyHexMesh does not create any mesh except one for the reference cell Arman_N OpenFOAM Meshing & Mesh Conversion 1 May 20, 2019 17:16
[Gmsh] 2D Mesh Generation Tutorial for GMSH aeroslacker OpenFOAM Meshing & Mesh Conversion 12 January 19, 2012 03:52
Need for Mesh Independence Study nickninevah Main CFD Forum 6 October 15, 2010 17:25
Icemcfd 11: Loss of mesh from surface mesh option? Joe CFX 2 March 26, 2007 18:10


All times are GMT -4. The time now is 22:02.