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

pyAMG Windows installation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 20, 2021, 05:25
Question pyAMG Windows installation
  #1
New Member
 
Andrea Michelotti
Join Date: Mar 2021
Posts: 12
Rep Power: 5
AndreaMichelotti is on a distinguished road
Good morning everyone,

for my MSc thesis I am using SU2 for shape optimization and I would like to use AMR to reduce computational time.

I tried to install pyAMG from INRIA but, as it was released only for Linux and MacOS, I could not install it in Windows 10.

Has anyone any information about how to install it or about other AMR tools which I can use?

I am not very practical about compilers and whatsoever related so any help would be precious.

I tried to search information about this but I could not find any answer on the topic.

I am working with MATLAB and GMSH and I have found a tool which can be a solution but it will be last chance.

Thank you for your attention
AndreaMichelotti is offline   Reply With Quote

Old   October 20, 2021, 10:31
Default
  #2
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 679
Rep Power: 21
bigfootedrockmidget is on a distinguished road
Hi Andrea,


If you are working with gmsh, then there are a number of python tools that you can use. With pygmsh you can first try to create your current mesh. You can then read the paraview solution, and identify the cells that you would like to refine (I did this with pyvista). If you have the coordinates of the cells, you can then add these as refinement areas to the gmsh setup and remesh and save to su2.



Alternatively, you keep all the existing mesh points, and add the cell centers to the list, and then recompute the connectivity in gmsh. This latter method works in 2D for Delaunay triangulation, not sure if you can do this in gmsh in 3D.
bigfootedrockmidget is offline   Reply With Quote

Old   October 27, 2021, 06:01
Default
  #3
New Member
 
Andrea Michelotti
Join Date: Mar 2021
Posts: 12
Rep Power: 5
AndreaMichelotti is on a distinguished road
Quote:
Originally Posted by bigfootedrockmidget View Post
Hi Andrea,


If you are working with gmsh, then there are a number of python tools that you can use. With pygmsh you can first try to create your current mesh. You can then read the paraview solution, and identify the cells that you would like to refine (I did this with pyvista). If you have the coordinates of the cells, you can then add these as refinement areas to the gmsh setup and remesh and save to su2.



Alternatively, you keep all the existing mesh points, and add the cell centers to the list, and then recompute the connectivity in gmsh. This latter method works in 2D for Delaunay triangulation, not sure if you can do this in gmsh in 3D.
Thank you very much for your reply!

I will try it and I hope to write a script to automate the process.
AndreaMichelotti is offline   Reply With Quote

Reply

Tags
amg, amr, pyamg


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
[OpenFOAM.com] controlDict not found after windows installation dsaen OpenFOAM Installation 3 August 25, 2019 09:28
[OpenFOAM.org] Offline installation of OpenFOAM6 on windows 10 m5m5kh OpenFOAM Installation 3 February 22, 2019 10:23
[OpenFOAM.com] v1606+ Installation on Windows 7 LennyZ OpenFOAM Installation 3 December 4, 2016 10:07
SU2 Installation on Windows 32 bit niddaas SU2 Installation 3 May 6, 2016 18:03
CFX11 + Fortran compiler ? Mohan CFX 20 March 30, 2011 19:56


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