Simulation Forums

Find Simulation answers, share expertise, and connect with your peers

Simulation CFD


Mesh adaptation residual independence

123 Views, 14 Replies
03/07/2018 11:15 AM

Hi been trying to find the residual independence %. from another post i read:

"Admittedly the mesh independence indicators are buried in the message window output and can be easy to miss. This data is saved within the .sol file (at the very bottom of the file, and only after the first adaptation) located in the scenario folder. I’d like to hear your suggestions as to where this data ought to reside in the user interface. Associated with a specific item in the study bar? In the adaptation dialog?"

- from 2014 has it changed?

I still cannot find the independence at the bottom of this .sol file.

many thanks,
Isak

Report Inappropriate Content
Message 1 of 14 ( Views: 123 )

Re: Mesh adaptation residual independence

03/07/2018 12:23 PM

It should just be displayed in the output bar after each cycle has completed. Is it not there?

 

Best,

David


David Short
Technical Support Specialist, Simulation

Report Inappropriate Content
Message 2 of 14 ( Views: 109 )

Re: Mesh adaptation residual independence

03/07/2018 12:27 PM

hi! thansk for reply!
yes, it's showing there, but;
Lets say im running multiple scenarios at the same time in the cloud. I might be lucky and find the % residual for a random(?) adaptation. But it seems the output bar is shared across all my designs?  So to be certain its for the design i have selected, is this stored somewhere smart. like in the .sol file?'

 

Also, as a student i get infinite cloud credits?

 

thanks,
isak


Report Inappropriate Content
Message 3 of 14 ( Views: 107 )

Re: Mesh adaptation residual independence

03/07/2018 12:41 PM

Hi Isak,

 

I'm fairly sure it is not stored anywhere else. Maybe one day! as you make a good point about design studies with more than one mesh adaptation process running simultaneously. 

 

You have unlimited credits? that doesn't seem right. Be careful that you are not being charged as they are expensive.

 

Best,

David


David Short
Technical Support Specialist, Simulation

Report Inappropriate Content
Message 4 of 14 ( Views: 102 )

Re: Mesh adaptation residual independence

03/07/2018 12:48 PM

aww, sad. 

Only the data is stored then. hard to make any sense of that.
i't says i have 1000000 cloud credits, and after running a simulation with cloud credit it still says i have the same amount left.

also, how sure is fairly sure? i've tried google this for hours now

Thanks! 




Report Inappropriate Content
Message 5 of 14 ( Views: 98 )

Re: Mesh adaptation residual independence

03/07/2018 1:03 PM

Hi, follow up question to the stored data about mesh adaptation. im trying to compare the flow from the different meshes, but it seems it dosnt save the different meshes? i now have for cycles run to convergence. but only the last mesh( - mesh 4 seems to have a fine mesh, the rest are identical to what i started with.
 meshing.jpg
Shouldn't they have different meshes as it is adapting?


Report Inappropriate Content
Message 6 of 14 ( Views: 92 )

Re: Mesh adaptation residual independence

03/07/2018 1:44 PM

Hmm that is strange. Can you open each of the scenarios and ensure that the results have returned fully.

 

Thanks,

DAvid


David Short
Technical Support Specialist, Simulation

Report Inappropriate Content
Message 7 of 14 ( Views: 88 )

Re: Mesh adaptation residual independence

03/13/2018 9:04 AM

This might be it, but the solver failed meshing, so i guess we'll never know.


Report Inappropriate Content
Message 8 of 14 ( Views: 77 )

Re: Mesh adaptation residual independence

03/14/2018 11:18 AM

Hi again.. so i finished a mesh adaptation with 1 cycle. it doesn't return with any % in the message window. 
And im pretty sure all results have loaded fully etc.
finished.jpg
Message in message window:

Mesh macro has been extracted from the archive.

Adaptive meshing process started...

Loading model...

Loading mesh sizes and constraints...

Computing adaptive mesh sizes...

Adaptive meshing...

Surface meshing... generating surface mesh

Surface meshing... smoothing surface mesh

Volume meshing... creating volume mesh

Volume meshing... optimizing volume mesh

Volume meshing... smoothing volume mesh

Mesh contains 509421 nodes and 2303060 elements.

Performing mesh quality check...

Saving mesh...

Adaptive meshing cycles 100% complete.

Updating model database...

Model database updated.

Updating mesh database...

Mesh database updated.

Building solver model file...

Solver file written.

Initializing ...

Control file processing complete

Cloud authorization verified

Interpolating results onto a new mesh 2

Processing input ...

Mesh input complete

Processing results input ...

Results input complete

Processing BC input ...

Computing restart BC data ...

Calculating BC data structures ...

Calculate wall distance for 408119 fluid nodes

Wall distance calculation done in (0 + 3) seconds. Max distance = 1.86511

BC data structures complete and saved

Analysis Initialization Complete

Input processing complete

** FINITE ELEMENT SUMMARY FOLLOWS...

509421 Total Nodes, 408119 Fluid Nodes , 101302 Solid Nodes

2303060 Total Elements, 1637240 Fluid Elements , 665820 Solid Elements

1 Inlets 1 Outlets 0 Unknowns

*********** ANALYSIS STARTED ***********

Turbulent Incompressible Flow is ON

Turbulence model: Standard k-epsilon

Intelligent Wall Formulation: OFF

Flat lines detected in Convergence Monitor - Auto Stop.

Begin Post-Processing Calculations ...

Post-Processing Calculations Done

Begin Post-Processing File Output ...

Post-Processing File Output Done

Analysis completed successfully

But where are these;
Mesh independence: Pressure: 94.93% Velocity: 98.36% Temperature: 98.13% (orgorg29mm) - mesh 1
Mesh independence: Pressure: 96.67% Velocity: 94.77% Temperature: 99.77% (orgorg29mm) - mesh 2
??? i really need them :(

Many thanks
Isak


Report Inappropriate Content
Message 9 of 14 ( Views: 67 )

Re: Mesh adaptation residual independence

03/15/2018 9:20 AM

Hi Isak,

 

Just done a quick test and this is what the output bar should look like for a solve with one cycle of mesh adaptation.

 

Mesher process started...

Loading model...

Loading mesh sizes and constraints...

Meshing...

Surface meshing... generating surface mesh

Surface meshing... smoothing surface mesh

Volume meshing... creating volume mesh

Volume meshing... optimizing volume mesh

Volume meshing... smoothing volume mesh

Mesh contains 1616 nodes and 5443 elements.

Performing mesh quality check...

Saving mesh...

Meshing completed.

Updating model database...

Model database updated.

Updating mesh database...

Mesh database updated.

Building solver model file...

Solver file written.

Initializing ...

Control file processing complete

Check Out basic License: Successful

Authorization verified

Processing input ...

Mesh input complete

Processing results input ...

Results input complete

Processing BC input ...

Computing restart BC data ...

Calculating BC data structures ...

Calculate wall distance for 1616 fluid nodes

Wall distance calculation done in (0 + 0) seconds. Max distance = 10284.9

BC data structures complete and saved

Analysis Initialization Complete

Input processing complete

** FINITE ELEMENT SUMMARY FOLLOWS...

1616 Total Nodes, 1616 Fluid Nodes , 0 Solid Nodes

5443 Total Elements, 5443 Fluid Elements , 0 Solid Elements

1 Inlets 1 Outlets 0 Unknowns

*********** ANALYSIS STARTED ***********

Turbulent Incompressible Flow is ON

Turbulence model: Standard k-epsilon

Intelligent Wall Formulation: OFF

Begin Post-Processing Calculations ...

Post-Processing Calculations Done

Begin Post-Processing File Output ...

Post-Processing File Output Done

Analysis completed successfully

Mesh macro has been extracted from the archive.

Adaptive meshing process started...

Loading model...

Loading mesh sizes and constraints...

Computing adaptive mesh sizes...

Adaptive meshing...

Surface meshing... generating surface mesh

Surface meshing... smoothing surface mesh

Volume meshing... creating volume mesh

Volume meshing... optimizing volume mesh

Volume meshing... smoothing volume mesh

Mesh contains 4184 nodes and 17056 elements.

Performing mesh quality check...

Saving mesh...

Adaptive meshing cycles 100% complete.

Updating model database...

Model database updated.

Updating mesh database...

Mesh database updated.

Building solver model file...

Solver file written.

Initializing ...

Control file processing complete

Check Out basic License: Successful

Authorization verified

Interpolating results onto a new mesh 2

Processing input ...

Mesh input complete

Processing results input ...

Results input complete

Processing BC input ...

Computing restart BC data ...

Calculating BC data structures ...

Calculate wall distance for 4184 fluid nodes

Wall distance calculation done in (0 + 0) seconds. Max distance = 10448.8

BC data structures complete and saved

Analysis Initialization Complete

Input processing complete

** FINITE ELEMENT SUMMARY FOLLOWS...

4184 Total Nodes, 4184 Fluid Nodes , 0 Solid Nodes

17056 Total Elements, 17056 Fluid Elements , 0 Solid Elements

1 Inlets 1 Outlets 0 Unknowns

*********** ANALYSIS STARTED ***********

Turbulent Incompressible Flow is ON

Turbulence model: Standard k-epsilon

Intelligent Wall Formulation: OFF

Mesh independence: Pressure: 39.64% Velocity: 99.91%

Begin Post-Processing Calculations ...

Post-Processing Calculations Done

Begin Post-Processing File Output ...

Post-Processing File Output Done

Analysis completed successfully

 

So it looks like these results haven't come back from the cloud. Did you select 'save cycles' in the mesh adaptation dialog? also do you still have unlimited Cloud credits?

 

All the best,

David

 


David Short
Technical Support Specialist, Simulation

Report Inappropriate Content
Message 10 of 14 ( Views: 57 )

Re: Mesh adaptation residual independence

03/18/2018 7:50 PM
Thanks very much.
Most of the times ive been running with save cycles, tables and the other save option in solve dialoge, but i also stopped the latter because the files got so big because of this. I will run easy simulations with and without save things and figure this out.
check tomorrow and update.

Isak

Report Inappropriate Content
Message 11 of 14 ( Views: 51 )

Re: Mesh adaptation residual independence

03/20/2018 9:09 AM

Alright, so it seems we can run fewer elements so i can run the simulations locally. It gives me the %residuals.

Yes i still have infinite cloud credits.

Isak


Report Inappropriate Content
Message 12 of 14 ( Views: 41 )

Re: Mesh adaptation residual independence

03/23/2018 12:05 PM

quite desperatly i ask;
Is there a way of making the program compare results from same design with two different meshes? have it compute the difference of pressure velocity and temperature :D?


Report Inappropriate Content
Message 13 of 14 ( Views: 32 )

Re: Mesh adaptation residual independence

03/23/2018 1:13 PM

There is, you just need to clone the scenario and change the mesh.

Then you can compare both together in the Decision Centre :)


Report Inappropriate Content
Message 14 of 14 ( Views: 29 )