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

Problem with SU2-NEMO with PyAMG

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By Lukas832

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 4, 2024, 15:46
Default Problem with SU2-NEMO with PyAMG
  #1
New Member
 
Lukas
Join Date: May 2024
Location: Saarbrücken
Posts: 3
Rep Power: 2
Lukas832 is on a distinguished road
Good evening,
I am using pyamg, with SU2, to obtain adaptive meshes. With the solvers in equilibrium there is no problem whatsoever and the desired result is achieved. However, as soon as I switch to NEMO (with any fluid model, either the su2 built-in or mutation++), then the pyamg output file amg.out complains that:

Code:
## ERROR: INTERPMET: INVALID METRIC: NULL OR NEGATIVE EIGEN-VAL
Code:

## FATAL ERROR: FEFLOA: INVALID METRIC FILE 


And so no adapted mesh is produced. Curiously, if I use the same mesh and edit the config file to bring me back to an equilibrium case (simple euler solver), everything works.

In detail, I compiled the brach feat_adap_dev. I have seen that AMR with pyamg and NEMO is used in a lot of various research, so I think it is possible to couple pyamg with su2NEMO.

I attach the .cfg and .su2 files of the case: for simplicity's sake the .cfg is essentially that of the NEMO testcase for the inviscid wedge (just add the adap parameters and disable MUSCL) and the mesh is a simple mesh with triangles. The mesh is very coarse to stay in the size limits of the forum. I tried to modify the mesh both in number of elements and by putting all the triangles of almost identical size but it did not solve the problem. I also tried to use the standard transonic NACA0012 mesh and config (with the addition of NEMO) but I get the same type of error.

Has anyone ever encountered this kind of problem? Any idea on the approach to follow?
Thanks
Attached Files
File Type: txt config.txt (2.8 KB, 8 views)
File Type: txt mesh.txt (180.8 KB, 3 views)
PeterBaek and silviorestivo like this.
Lukas832 is offline   Reply With Quote

Old   May 8, 2024, 16:58
Default
  #2
New Member
 
Lukas
Join Date: May 2024
Location: Saarbrücken
Posts: 3
Rep Power: 2
Lukas832 is on a distinguished road
Update: could it be that the branch feature_adap_dev is only suitable for equilbrium Euler simulations? I tried to go back to the feature_adap_tne2: both non equilibrium and mesh adaptation seems to work, however TNE2 has grown and changed hugely (becoming NEMO) and it looks that the mesh adaptation implementation changed a bit between feature_adap_tne2 and feature_adap_dev (as 2 years passed by)

I think that there must be some newer branch to perform that, but I still have no clues
Lukas832 is offline   Reply With Quote

Old   May 9, 2024, 03:48
Default
  #3
Member
 
Giovanni Medici
Join Date: Mar 2014
Posts: 48
Rep Power: 12
giovanni.medici is on a distinguished road
If I recall correcly feature_adapt branch was a 7.0.3 branch, well before NEMO was introduced into the master
giovanni.medici is offline   Reply With Quote

Old   May 9, 2024, 05:10
Default
  #4
New Member
 
Lukas
Join Date: May 2024
Location: Saarbrücken
Posts: 3
Rep Power: 2
Lukas832 is on a distinguished road
Hi, giovanni.medici thank you for your answer.
You're right the feature_adapt branch is with the version 7.0.3, but the feature_adap_dev is with the 7.3.1 that comes with the NEMO solvers.
Lukas832 is offline   Reply With Quote

Reply

Tags
mesh adaptation, nemo, problem, pyamg, su2


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
3D Windturbine simulation in SU2 k.vimalakanthan SU2 15 October 12, 2023 06:53
SU2, version 8.0.0, AVX problem or ? rn86j SU2 1 September 1, 2023 04:45
Openmpi SU2 simple parallel install gives problem in iterations steadyman SU2 Installation 7 February 11, 2022 14:04
Turbulent channel with a bump - SU2 Cp problem pedropcb13 SU2 2 July 23, 2021 05:41
Problem with cfg file for SU2 simulation over airfoil Milz SU2 1 April 18, 2021 18:50


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