|
[Sponsors] |
September 8, 2015, 15:24 |
Buice 2D asymetric diffuser
|
#1 |
Member
SM
Join Date: Dec 2010
Posts: 97
Rep Power: 15 |
Can anyone share Buice 2D asymmetric diffuser (as in the link below) blockMesh file?
http://www.grc.nasa.gov/WWW/wind/val...1/buice01.html Thanks |
|
November 11, 2015, 07:58 |
|
#2 |
Senior Member
Join Date: Mar 2010
Location: Germany
Posts: 154
Rep Power: 16 |
Hi,
I cannot provide a complete working example, but I'm pretty sure this kind of geometry can be achieved using blockMesh along with the codeStream directives. I've tried something similar: blockMeshCodeStreamDiffuser.png The mesh above was created with the following blockMeshDict (sorry for the formatting, not supported by any editor I know of): Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.0.1 | | \\ / A nd | Web: www.OpenFOAM.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object blockMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // convertToMeters 1; vertices ( (-2 -1 -1.107148718) // 0 ( 2 -1 1.107148718) // 1 ( 2 1 1.107148718) // 2 (-2 1 -1.107148718) // 3 (-2 -1 2.5) // 4 ( 2 -1 2.5) // 5 ( 2 1 2.5) // 6 (-2 1 2.5) // 7 ); blocks ( hex (0 1 2 3 4 5 6 7) (40 20 20) simpleGrading (1 1 1) ); edges ( polyLine 0 1 ( #codeStream { codeInclude #{ #include "pointField.H" #}; code #{ const scalar minx = -2.; const scalar maxx = 2.; const scalar len = maxx-minx; const int n = 20; const scalar h = len/n; for(int i=1; i<n; ++i) { const scalar x = minx + i*h; const scalar z = atan(x); const scalar y = -1.; os << "(" << x << " " << y << " "<< z << ") "; } #}; } // end of codeStream ) // end of polyLine polyLine 3 2 ( #codeStream { codeInclude #{ #include "pointField.H" #}; code #{ const scalar minx = -2.; const scalar maxx = 2.; const scalar len = maxx-minx; const int n = 20; const scalar h = len/n; for(int i=1; i<n; ++i) { const scalar x = minx + i*h; const scalar z = atan(x); const scalar y = 1.; os << "(" << x << " " << y << " "<< z << ") "; } #}; } // end of codeStream ) // end of polyLine ); // end of edges boundary ( ); mergePatchPairs ( ); // ************************************************************************* // Cutter |
|
November 11, 2015, 09:59 |
|
#3 |
Senior Member
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 556
Rep Power: 27 |
Hi
Not blockmesh but Salome. Use the dump file as import script. The geo i made with base unit so you need to scale your mesh (in x and y) with "H" after exporting.
__________________
Linnemann PS. I do not do personal support, so please post in the forums. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Total temperature change in stationary diffuser in steady state flow | maebr | CFX | 19 | November 16, 2020 08:13 |
Optimal design of a diffuser for a semi-trailer | StephC | CFD Freelancers | 2 | May 11, 2016 04:16 |
Diffuser reversed flow | macdhui | FLUENT | 4 | October 8, 2015 05:48 |
[ICEM] SAE Reference Notchback model - diffuser mesh and index control | Crank-Shaft | ANSYS Meshing & Geometry | 1 | May 7, 2015 22:24 |
Need help defining a momentum source for a diffuser inlet | serezhkin | CFX | 1 | April 2, 2013 13:20 |