|
[Sponsors] |
January 3, 2014, 10:56 |
Mesh Generating Using Spring Analogy
|
#1 |
New Member
Y Yang
Join Date: Nov 2012
Posts: 25
Rep Power: 14 |
Dear All,
I am planning to perform analysis around flapped airfoil. I have prepared mesh for unflapped airfoil. By any chance, is it possible for me to deform the airfoil geometry (mesh as well) using spring analogy method in SU2? By doing that, I don't need to generate new mesh for the flapped airfoil. Regards, Yosheph Yang |
|
January 3, 2014, 12:33 |
|
#2 | |
Member
Jianming Liu
Join Date: Mar 2009
Location: China
Posts: 71
Rep Power: 17 |
Quote:
|
||
January 5, 2014, 15:52 |
|
#3 |
New Member
Y Yang
Join Date: Nov 2012
Posts: 25
Rep Power: 14 |
||
January 7, 2014, 08:19 |
|
#4 |
Member
Jianming Liu
Join Date: Mar 2009
Location: China
Posts: 71
Rep Power: 17 |
||
January 11, 2014, 22:47 |
|
#5 |
Super Moderator
Francisco Palacios
Join Date: Jan 2013
Location: Long Beach, CA
Posts: 404
Rep Power: 15 |
Yes, SU2_MDC is the right solver for grid deformation. It uses a FEA method (we have removed the spring analogy method - this method didn't work with high stretching grids - ).
There are different deformation implemented in the code. It could be useful for you to take a look at a pitching airfoil optimization problem (http://www.cfd-online.com/Forums/su2...ady-flows.html). Best Regards, Francisco |
|
January 20, 2014, 09:27 |
|
#6 | |
New Member
Y Yang
Join Date: Nov 2012
Posts: 25
Rep Power: 14 |
Quote:
I have tried to look at the configuration file that you mentioned. I don't know how to modify the configuration file in here. I want to remesh the airfoil into flapped airfoil whose flap is deflected around 0.7c with around 10 degree without performing any optimization at all. If you don't mind, how should I perform this using SU2_MDC module? Regards, Yosheph |
||
February 12, 2014, 21:55 |
|
#7 |
Super Moderator
Thomas D. Economon
Join Date: Jan 2013
Location: Stanford, CA
Posts: 271
Rep Power: 14 |
Hi Yosheph,
If you can modify the locations of the surface nodes for the particular airfoil (just your flap for instance), you can input their new locations in a file to SU2_MDC and choose the option DV_KIND= SURFACE_FILE. MDC will then deform the volume mesh around the new airfoil geometry. You will also need to give the filename in the options: % Surface deformation input filename (SURFACE_FILE DV only) MOTION_FILENAME= mesh_motion.dat Please see the routine CSurfaceMovement::SetSurface_Deformation(CGeometry *geometry, CConfig *config) in the file grid_movement_structure.cpp for more details on the format for the file with the new airfoil coordinates. Cheers, Tom |
|
February 26, 2014, 16:36 |
|
#8 | |
Member
Tommy Chen
Join Date: Mar 2011
Location: University of Michigan
Posts: 96
Rep Power: 15 |
Quote:
Actually SU2_MDC would create an initial mesh_motion file, if MOTION_FILENAME has been set and mesh_motion.dat does not exist. The related code is as: ################################################## ############ /*--- A surface file does not exist, so write a new one for the markers that are specified as part of the motion. ---*/ if (Surface_File.fail()) { if (rank == MASTER_NODE) cout << "No surface file found. Writing a new file: " << filename << "." << endl; Surface_File.open(filename.c_str(), ios:ut); Surface_File.precision(15); unsigned long iMarker, jPoint, GlobalIndex, iVertex; double *Coords; for (iMarker = 0; iMarker < config->GetnMarker_All(); iMarker++) { if (config->GetMarker_All_DV(iMarker) == YES) { for(iVertex = 0; iVertex < geometry->nVertex[iMarker]; iVertex++) { jPoint = geometry->vertex[iMarker][iVertex]->GetNode(); GlobalIndex = geometry->node[jPoint]->GetGlobalIndex(); Coords = geometry->node[jPoint]->GetCoord(); Surface_File << GlobalIndex << "\t" << Coords[0] << "\t" << Coords[1]; if (nDim == 2) Surface_File << endl; else Surface_File << "\t" << Coords[2] << endl; } } } ################################################## ############ However , after I test it with 3D ONERA M6 wing case in parallel mode, I found out that only the surface mesh points which owned by the master_node have been outputed. I think this is a bug somehow, I want to fix it , but do not know how. |
||
October 6, 2016, 01:36 |
|
#9 | |
New Member
jit
Join Date: Jun 2015
Location: bangalore
Posts: 25
Rep Power: 11 |
Quote:
|
||
October 6, 2016, 01:40 |
|
#10 |
New Member
jit
Join Date: Jun 2015
Location: bangalore
Posts: 25
Rep Power: 11 |
can you please explain what is the format of surface file should be. if you can give some example or simple surface file that would be a great help. thanks
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] SnappyHexMesh for internal Flow | vishwa | OpenFOAM Meshing & Mesh Conversion | 24 | June 27, 2016 09:54 |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 07:20 |
[ICEM] Generating Mesh for STL Car in Windtunnel Simulation | tommymoose | ANSYS Meshing & Geometry | 48 | April 15, 2013 05:24 |
ParaView and Qt 4.3.5 on Mac OS X 10.6 | Adrian | OpenFOAM | 3 | August 8, 2010 04:16 |
Icemcfd 11: Loss of mesh from surface mesh option? | Joe | CFX | 2 | March 26, 2007 19:10 |