CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   SU2 (https://www.cfd-online.com/Forums/su2/)
-   -   Reconstruction of variables (https://www.cfd-online.com/Forums/su2/135752-reconstruction-variables.html)

heySourabh May 17, 2014 05:51

Reconstruction of variables
 
Hi,

I have just started using SU2 and I am able to run it. Using SU2 seems very straight forward and easy.

I would like to use SU2 for higher resolution calculations by implementing WENO reconstruction. Can someone please direct me as to which classes (and .cpp file) need to be modified?

Explaining the method for finding the surrounding cells average variable values and dimension will be of great help. I am unable to locate the class (and source file) where variable reconstruction is done.

Thanks,
Sourabh

fpalacios May 18, 2014 21:26

Quote:

Originally Posted by heySourabh (Post 492525)
Hi,

I have just started using SU2 and I am able to run it. Using SU2 seems very straight forward and easy.

I would like to use SU2 for higher resolution calculations by implementing WENO reconstruction. Can someone please direct me as to which classes (and .cpp file) need to be modified?

Explaining the method for finding the surrounding cells average variable values and dimension will be of great help. I am unable to locate the class (and source file) where variable reconstruction is done.

Thanks,
Sourabh


Hi Sourabh, thanks a lot for you interest in SU2.

All the geometrical preprocessing is done in

void Geometrical_Preprocessing(CGeometry ***geometry, CConfig **config, unsigned short val_nZone) { }

in definition_structure.cpp

At the very beginning of the subroutine SU2 computes the Elements surrounding Points (EsuP), Points surrounding Points (PsuP) and Elements surrounding Elements (EsuE). The control volume determination is done in

geometry[iZone][MESH_0]->SetControlVolume(config[iZone], ALLOCATE);

SU2 is an edge based solver that use the dual grid control volume.

I hope this help, and please let us posted with your progress, I high order reconstruction in SU2 would be very interesting for the open source community.

Cheers,
Francisco

heySourabh May 18, 2014 21:57

Thank you very much, that certainly helped.

Thanks,
Sourabh


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