Beruflich Dokumente
Kultur Dokumente
Considrese un fluido que fluye a travs de una placa plana, como se ilustra
arriba. Obtener la distribucin de velocidad y presin cuando el nmero de
Reynolds basado en la longitud de la placa es de 10,000. Este nmero de
Reynolds se obtiene utilizando los siguientes ajustes. La longitud de la placa es de
1 m. El fluido entrante fluye en la direccin x con una velocidad de 1 m / s. La
densidad del fluido es 1 kg / m ^ 3 y la viscosidad es de 1 x 10 ^ (- 4) (kg / ms).
Tenga en cuenta que estos valores no son necesariamente fsica. Se han recogido
para producir el nmero de Reynolds deseado.
Compruebe sus resultados mediante la comparacin de la distribucin de la
velocidad y la presin con la teora de la capa lmite clsico.
2. Pre-Anlisis
Para un flujo externo de este tipo, hay que determinar dnde colocar el lmite
exterior. Un dominio rectangular ser utilizado para esta simulacin. La altura del
dominio rectangular ser determinado por el espesor esperado de la capa lmite.
Para una capa lmite de placa plana, se puede utilizar la siguiente aproximacin
para encontrar el espesor de la capa lmite.
Cuando x = 1m,
= 0,05 m. La altura del dominio se ajustar a diez veces el
espesor de la capa lmite. Por lo tanto, la altura de la frontera se ajustar a 0,5 m.
La siguiente figura muestra las dimensiones del dominio, y las etiquetas de
contorno que se utilizarn para establecer las condiciones de contorno.
4. Geometra
Saving
Sera de inters, guardar el proyecto en este punto. Haga clic en el botn "Guardar
como .
, que se encuentra en la Workbench Project Page . Guarde el
proyecto como "FlatPlateFlow" en su directorio de trabajo. Cuando se guarda en
un archivo de ANSYS y se crear una carpeta. Por ejemplo, si se guarda como
"FlatPlateFlow", un archivo "FlatPlateFlow" y una carpeta llamada
"FlatPlateFlow_files" aparecer. Para volver a abrir los archivos de ANSYS en el
futuro tendr que tanto el archivo ".wbpj" y la carpeta. Si usted no tiene AMBOS,
usted no ser capaz de acceder a su proyecto.
Seleccin del proyecto
En el lado izquierdo de la ventana de workbench, ver una caja de herramientas
completa de los diferentes sistemas de anlisis. A la derecha, se ve un espacio de
trabajo vaco. Este es el lugar donde va a organizar su proyecto. En la parte
inferior de la ventana, ver los mensajes de ANSYS. Pulse el botn izquierdo (y
mantener) en Fluid Flow (FLUENT) y arrastrar el icono en el espacio vaco en
Project Schematic . Su ventana de ANSYS debe ser ahora comparable a la
imagen de abajo.
Puesto que hemos seleccionado Fluid Flow(FLUENT), cada celda del sistema
corresponde a un paso en el proceso de la realizacin de anlisis CFD usando
FLUENT. Cambie el nombre del proyecto a "FlatPlate". Vamos a trabajar a travs
de cada paso, de arriba hacia abajo para obtener la solucin a nuestro problema.
Tipo de Anlisis
En el Project Schematic de la ventana de Workbench, click derecho en
Geometry y selecciona Properties.
Modelador de diseo
En el Project Schematic , haga doble clic en Geometry para iniciar la
preparacin de la geometra. En este punto, se abrir una nueva ventana, ANSYS
Design Modeler. Se le pedir que seleccione la unidad de longitud deseada. Utilice
la unidad de metro predeterminado y haga clic en OK .
Creacin de un Sketch
Comience por crear un boceto en el XYPlane. Bajo Tree Outline , seleccione
XYPlane , luego haga clic en Sketching justo antes Details View . Con ello se
abre la Sketching Toolboxes.
Dimensiones
En este punto, el rectngulo se dimensiona correctamente. Bajo Sketching Toolboxes ,
seleccione la pestaa Dimensions, utilice las herramientas de acotacin por defecto.
Acote
la
geometra
como
se
muestra
en
la
siguiente
imagen.
Creacin de la superficie
5. Mallado
In this section the geometry will be meshed with 3000 elements. That is, the field
will be divided into 50 elements in the x direction and 60 elements in the y
direction.
Launch Mesher
In order to begin the meshing process, go to the Workbench Project Page,
then (Double Click) Mesh.
Default Mesh
En esta seccin se generar la malla por defecto. Con el fin de generar la malla
por defecto haga clic primero en Mesh,, y luego haga clic en Update, como se
muestra en la siguiente imagen.
Now, the Mapped Face Meshing still must be applied to the geometry. In
order to do so, first click on the surface body(filled rectangle), which should
then highlight green. Next, (Click) Apply in the Details of Mapped Face
Meshing table, as shown below.
Ahora, el Mapped Face Meshing todava se debe aplicar a la geometra.
Para hacerlo, primero haga clic en el conjunto de superficies (rectngulo
Ahora,
generar
la
malla
haciendo
clic
en
Update.
Dimencionamiento
La malla deseado tiene un nmero especfico de divisiones en la direccin x y un
nmero determinado de divisiones en la direccin y. Con el fin de obtener el
nmero especificado de divisiones debe ser utilizado Edge Sizing . Las divisiones
en la direccin x se especificarn primero. Ahora, un Edge Sizing necesita ser
insertado. En primer lugar, (Click) Mesh Control > Sizing como se muestra a
continuacin.
Your mesh should now have 3,000 elements (50x60). In order to check how many
elements your mesh has, expand Statistics under "Details of Mesh" as shown
below.
Su malla debe tener ahora 3.000 elementos (50x60). Para comprobar cuntos
elementos de su malla ha, ampliar Statistics bajo "Details of Mesh "(Detalles de
malla"), como se muestra a continuacin.
Next, set the Bias Factor to 70 as shown below. The Bias Factor is defined in this
case to be the ratio of the longest division and the shortest division. That is, the last
division will be seventy times longer than the length of the first division.
Now, the biasing needs to be specified for the right side of the geometry. In order to
incorporate the biasing on the right side a new Edge Sizing needs to be
implemented. First, (Click) Mesh Control > Sizing. Then, select and apply the left
side of the geometry. Then, change Type to Number of Divisions and
set Number of Divisions to 60. Next, set Behavior toHard and set Bias Type to
the second option, as shown below.
Ahora, la desviacin tiene que ser especificado para el lado derecho de la
geometra. Con el fin de incorporar la desviasin en el lado derecho un nuevo
Edge Sizing necesita ser implementado. En primer lugar, (Click) Mesh Control >
Sizing (Malla de control> Dimensionamiento). Luego, seleccionar y aplicar la
parte izquierda de la geometra. Entonces, el cambio Type a Number of
Divisions y establecer Nmero de divisiones a 60. A continuacin, establezca
Behavior (Comportamiento) a Hard (Duro) y establezca Bias Type a la segunda
opcin, como se muestra a continuacin.
A continuacin, establezca el Bias Factor (factor de sesgo) a 70. Por ltimo, haga
clic en Update (actualizar) para generar la nueva malla. Usted debe obtener la
malla siguiente.
Nombrar secciones
Here, the edges of the geometry will be given names so one can assign boundary
conditions in FLUENT in later steps. The left side of the geometry will be called
"inlet" and the right side will be called "outlet". The top side of the rectangle will be
called "far_field" and the bottom side of the rectangle will be called "plate" as
shown in the image below.
Crear Selecciones temporales
Aqu, los bordes de la geometra se dan nombres, as uno puede asignar
condiciones de contorno en FLUENT en pasos posteriores. El lado izquierdo de la
geometra se llamar "inlet" y el lado derecho se llama "outlet". El lado superior del
rectngulo se llamar "far_field" y el lado inferior del rectngulo ser llamada
"plate"
como
se
muestra
en
la
imagen
de
abajo
Con el fin de nombrar las secciones primero (Click) Edge Selection Filter (Filtro
de seleccin de borde). Luego haga clic en el lado izquierdo del rectngulo y
debera resaltar verde. A continuacin, haga clic derecho en el lado izquierdo del
rectngulo y seleccione Create Named Selection (Crear Seleccin) como se
muestra
a
continuacin.
Ahora, crear selecciones para los tres lados restantes y nombrarlos segn el
diagrama. Una vez que haya creado las cuatro selecciones, expanda Named
Selections y debera ver las cuatro selecciones temporales, como se muestra a
continuacin.
6. Propiedades fsicas
Su banco de trabajo Workbench Project Page debe mirar comparable a la
siguiente imagen. Independientemente de si usted descargado los archivos de
malla y geometra o si los ha creado usted mismo, usted debe tener marcas de
verificacin a la derecha de Geometry y Mesh.
The question mark to the right of right of the Setup cell is normal and indicates that
the Setup process has not yet been completed.
El signo de interrogacin a la derecha de la derecha de la celda de Setup
(configuracin) es normal e indica que el proceso de instalacin an no se ha
completado.
Fluido
Haga doble clic en Setup Configuracin en Workbench Project Page que traer
el FLUENT Launcher. Cuando el FLUENT Launcher parece cambiar las
opciones de "doble precisin", y luego haga clic en OK como opcin below. La
doble precisin mostrada se utiliza para seleccionar el solucionador de doble
precisin. En el solucionador de doble precisin, cada nmero en coma flotante se
representa usando 64 bits en contraste con el solucionador de precisin simple
que utiliza 32 bits. Los bits adicionales aumentan no slo la precisin, sino tambin
la gama de magnitudes que se puede representar. La desventaja de usar doble
precisin es que requiere ms memoria.
Twiddle your thumbs a bit while the FLUENT interface starts up. This is where we'll
specify the governing equations and boundary conditions for our boundary-value
problem. On the left-hand side of the FLUENT interface, we see various items
listed under Problem Setup. We will work from top to bottom of the Problem
Setup items to setup the physics of our boundary-value problem. On the right hand
side, we have the Graphics pane and, below that, the Command pane.
Mientras la interfaz de Fluent inicia. Aqu es donde vamos a especificar las
ecuaciones que gobiernan y las condiciones de contorno para nuestro problema
de valores en la frontera. En el lado izquierdo de la interfaz fluida, vemos varios
aspectos indicados en Problem Setup Vamos a trabajar de arriba a abajo de los
elementos de Problem Setup (configuracin del Problema) para configurar la
fsica de nuestro problema valores en la frontera. En el lado derecho, tenemos el
panel de grficos Graphics y, debajo de eso, el panel de comandos Command.
Checar malla
First, the mesh will be checked to verify that it has been properly imported
from Workbench. In order to obtain the statistics about the mesh (Click) Mesh >
La malla que se cre a principios de 3000 tiene elementos (50 x 60). Tenga en
cuenta que en los elementos FLUIDAS son llamados clulas. La salida indica que
hay 3.000 clulas, lo cual es una buena seal. A continuacin, FLUENT se le
pedir que verifique la malla de errores. Con el fin de llevar a cabo el
procedimiento de comprobacin de malla (Click) Mesh > Check como se
muestra en la imagen de abajo
Usted debe ver ningn error en el panel de comandos Command . Ahora, que la
malla ha sido verificada, se discutirn las opciones de visualizacin de malla. Con
el fin de que aparezcan las opciones de visualizacin (Click) General > Mesh >
Display como se muestra en la imagen de abajo
The previous step should cause the Mesh Display window to open, as shown
below. Note that the Named Selections created in the meshing steps now appear.
El paso anterior debe causar la ventana de visualizacin de malla Mesh Display
para abrir, como se muestra a continuacin. Tenga en cuenta que las Selecciones
temporales Named Selections creados en los pasos de mallado aparecen ahora.
You should have all the surfaces shown in the above snapshot. Clicking on a
surface name in the Mesh Display menu will toggle between select and unselect.
Clicking Display will show all the currently selected surface entities in the graphics
pane. Unselect all surfaces and then select each one in turn to see which part of
the domain or boundary the particular surface entity corresponds to (you will need
to zoom in/out and translate the model as you do this). For instance, if you
select far_field, inlet, and plate and then click Display you should then obtain the
following output in the graphics window.
Usted debe tener todas las superficies que se muestran en la foto arriba. Al hacer
Por defecto, las opciones de modelos viscosos se establecen para laminar, por lo
que no se necesitan cambios. Haga clic en Cancel para salir del men.
Propiedades del material
Ahora, se especificarn las propiedades del fluido que se est modelando. Las
propiedades del fluido se especifican en la seccin Especificacin del Problema.
Con el fin de crear un nuevo fluido (Click) Materials > Fluid > Create/Edit... como
se muestra en la imagen de abajo.
.
En el men Create/Edit Materials ajustar la densidad Density de 1 kg / m ^ 3
(constante) y ajuste la viscosidad a 1e-4 kg / (ms) (constante) como se muestra en
la siguiente imagen
Tenga en cuenta que el lmite Para Estado Boundary Condition Type debera
haberse fijado automticamente a la velocidad-entrada velocity-inlet. En el men
de velocidad de entrada Velocity Inlet fijado la especificacin de velocidad
Mtodo de Componentes Velocity Specification Method , y establecer XVelocity (m/s) a 1 m / s, como se muestra a continuacin.
Note that the Boundary Condition Type should have been automatically set
to pressure-outlet. For the outlet boundary condition the gauge pressure needs to
be set to zero. The default gauge pressure is zero, thus no changes need to be
made. Close the Pressure-Outlet menu.
Condicin de frontera para el plato
El Boundary Condition Type debera haberse fijado automticamente a la pared,
como se muestra en la imagen de abajo.
If the Boundary Condition Type is not set to wall, then set it to wall. We will use
the default setting for the wall boundary condition, thus no changes are needed.
Si el Boundary Condition Type no est ajustado a la pared wall, y luego ponerlo
a la wall. Vamos a utilizar la configuracin predeterminada para la condicin de la
wall frontera, por lo tanto no se necesitan cambios.
7. Solucin Numrica
Esquema de segundo orden
Un esquema de discretizacin de segundo orden se utiliza para aproximar la
solucin. Con el fin de poner en prctica el segundo esquema de orden haga click
en mtodos de solucin Solution Methods a continuacin haga clic en
Momentum y seleccione Second Order Upwind como se muestra en la imagen
de abajo.
Por ltimo, haga clic en Aceptar OK para cerrar el men Residual Monitors
Establecer el inicio del flujo
Aqu, el campo de flujo se inicializar con los valores en la entrada. Es decir, los
valores iniciales de todas las clulas se establecer en 1 m / s y 0 Pa para x
velocidad y presin manomtrica respectivamente. Con el fin de llevar a cabo la
inicializacin, haga clic en Solution Initialization a continuacin, haga clic en
Compute from desde y seleccione inlet como se muestra a continuacin.
Esto completa
Entonces, usted tendra que presionar el botn Inicializar Initialize para aplicar los
valores iniciales especificados a todas las celdas. Cualquier mtodo le dar los
mismos resultados.
Iterar hasta la convergencia
Antes, para ejecutar el clculo se debe establecer el nmero mximo de
iteraciones. Para especificar el nmero mximo de iteraciones haga clic en Run
Calculation a continuacin establezca el nmero de iteraciones a 1000, como se
muestra en la imagen de abajo.
The residuals fall below the specified convergence criterion of 1e-6 in about 557
iterations, as shown below. Actual number of convergence steps may vary slightly.
8. Resultados numricos
Postprocesador
Exporting Skin Friction from FLUENT into the Post-processor (CFD-Post)
FLUENT calcula el coeficiente de friccin de la piel de la siguiente manera (vase
la seccin 34.4 del Manual del usuario de Fluent que es accesible desde el botn
de "ayuda" en la interfaz fluida. En ANSYS 15.0, vase la seccin 33.4 Listado
alfabtico de variables de campo y sus definiciones).
referencia.
Entidades bsicas tales como la velocidad y la presin se exportan
automticamente de FLUENT en CFD-Post. Otros, como el coeficiente de friccin
de la piel debe ser exportado manualmente. Para exportar manualmente el
coeficiente de friccin de la piel, en FLUENT, haga clic en Archivo> Las
antidades de archivos de datos:
In Data File Quantities dialogue, select skin friction coefficient and click on OK.
Note
You can use the wheel button of the mouse to zoom into the region that closely
surrounds the plate, to get a better view of the boundary layer velocities:
Pressure Contour
Insert > Contour. Name it Pressure contour.
Vw
In Details of Pressure contour, change the locations to symmetry 1, change the
variable to Pressure, and change the number of contours to 50.
In the Details of Outlet panel, enter the following coordinates. Change the number
of samples to 50. Click on Apply to create a line at the outlet.
Insert a chart from the menu: insert > chart. Name the chart "Velocity Profile".
Change the title to "Velocity Profile" in the General tab. In the Data Series tab,
rename Series 1 toFLUENT and select Outlet for location. Select Velocity as the
variable in the X Axis tab and select Y as the variable in the Y Axis tab. Click on
Apply to generate the chart.
We would like to compare the FLUENT result to the Blasius boundary layer
solution. Download the Blasius solution here. Return to the Data Series tab and
insert another data set. Rename it Blasius. Instead of specifying the location of the
data, select the Blasius solution file you have downloaded.
Click on Apply. The comparison should look like the following plot:
In the expressions tab, create a new expression and name it "Uinf". In Details of
Uinf, enter the following command and click on Apply:
Notice Uinf returns 1 m/s as the velocity at the point where we defined as free
stream. This is the same free stream velocity that we have set up in FLUENT.
Insert another expression and name it "u normalized". Enter the following
command and notice its value is a variable. This is because the u-velocity varies in
the y direction.
In the Variables tab, create a new variable and name it "normalized u". Retain
Expression for the Method and change the expression to "u normalized" from the
drop down list. Click on Apply. normalized u now appears as an variable.
No
Insert a chart and name it "normalized velocity". Select Outlet for the location in
Data Series. Select normalized u for the X variable and Y for the Y variable.
Click on Apply to view the chart.
Notice the scale of this profile is exactly the same as that of the outlet velocity
profile. This is because the free stream velocity, Uinf, is 1 m/s.
Mid-Section Velocity Profile
Here, we will plot the variation of the x component of the velocity along a vertical
line in the middle of the geometry. In order to create the profile, we must first create
a vertical line at x=0.5m. Insert another line, same as the previous step, and name
it Mid section. Enter the following numbers to create a vertical line at x=0.5m. Set
the number of samples to 50. Remember to click on Apply to finish.
Insert another chart and name it Mid Section Velocity Profile. In the General tab,
change the title to "Velocity profile". Select Mid Section as the location and
rename Series 1 to Mid section. We will compare the velocity profiles at the mid
section and at the outlet. Repeat the procedure in the previous step to insert the
velocity profile at the outlet. Change the variable to Velocity in the X Axis tab and
change the variable to Y in the Y Axis tab. Click on Apply to generate the chart.
Inserte otro grfico y el nombre de Seccin del medio Perfil de velocidad. En la
ficha General, cambie el ttulo a "Perfil de velocidad". Seleccione Mid Section
como la ubicacin y cambiar el nombre de la Series 1 a Mid section.. Vamos a
comparar los perfiles de velocidad en la seccin media y en la salida. Repetir el
procedimiento en el paso anterior para insertar el perfil de velocidad en la salida.
Cambie la variable de la velocidad en la pestaa Eje X y cambiar la variable Y en
la pestaa Eje. Haga clic en Aplicar para generar el grfico.
Insert a chart and name it "Cf along wall". Use the same name for the chart title.
From the Data Series tab, Select "plate wall" for the location.
In the X Axis tab, select X as the Variable. In the Y Axis tab, select Skin Friction
Coefficient as the Variable.
The skin friction coefficient along the plate is shown below:
It is of interest to compare the numerical skin friction coefficient profile to the skin
friction coefficient profile obtained from the Blasius solution. We will compare the
FLUENT result to the Blasius solution. Download the Blasius solution here. The
comparison is shown below:
You can export the skin friction coefficient for data manipulation.
Rename the duplicate project to FlatPlate (mesh 2). You should have the following
two projects in your Workbench Project Page.
Next, double click on the Mesh cell of the FlatPlate (mesh 2) project. A new
ANSYS Mesher window will open. Under Outline, expand Mesh and click
on Edge Sizing. Under Details of "Edge Sizing", enter 100 for Number of
Divisions. Next set the number of divisions for Edge Sizing 2 and Edge Sizing
3 to 120. Then, click Update to create the new mesh. The new mesh should now
have 12000 elements (100 x 1200). A quick glance of the mesh statistics reveals
that there is indeed 12000 elements.
Now, wait a few minutes for FLUENT to obtain the solution for the refined mesh.
After FLUENT obtains the solution, save your project.
Convergence
In order to launch FLUENT double click on the Solution of the "FlatPlate (mesh 2)"
project in the Workbench Project Page. The new mesh has significantly more
cells, thus it is likely that the solution did not converge to the tolerances we have
previously set. Therefore, we will iterate the solution further, to make sure that the
solution converges. In order to do so click on Run Calculation, set Number of
Iterations to 1000 and click Calculate, as shown below.
Once you rerun the calculation, you will quickly see that the solution did not
converge for the finer mesh within 1000 iterations. The solution should converge by
the 1784th iteration as shown below.
As one can see from the image above, the numerical solution does not vary much
at all between the two meshes. Thus, it has been confirmed that the solution is
mesh converged.