当前位置:文档之家› ANSYS原版流固耦合计算实例

ANSYS原版流固耦合计算实例

ANSYS原版流固耦合计算实例
ANSYS原版流固耦合计算实例

Oscillating Plate with Two-Way Fluid-Structure Interaction

ANSYS-China

Introduction

This tutorial includes:

?Features

?Overview of the Problem to Solve

?Setting up the Solid Physics in Simulation (ANSYS Workbench)

?Setting up the Fluid Physics and ANSYS Multi-field Settings in ANSYS CFX-Pre

?Obtaining a Solution using ANSYS CFX-Solver Manager

?Viewing Results in ANSYS CFX-Post

If this is the first tutorial you are working with, it is important to review the following topics before beginning:

?Setting the Working Directory

?Changing the Display Colors

Unless you plan on running a session file, you should copy the sample files used in this tutorial from the installation folder for your software (/examples/) to your working directory. This prevents you from overwriting source files provided with your installation. If you plan to use a session file, please refer to Playing a Session File.

Sample files referenced by this tutorial include:

?OscillatingPlate.pre

?OscillatingPlate.agdb

?OscillatingPlate.gtm

?OscillatingPlate.inp

1.Features

This tutorial addresses the following features of ANSYS CFX.

In this tutorial you will learn about:

?Moving mesh

?Fluid-solid interaction (including modeling solid deformation using ANSYS)

?Running an ANSYS Multi-field (MFX) simulation

?Post-processing two results files simultaneously.

2.Overview of the Problem to Solve

This tutorial uses a simple oscillating plate example to demonstrate how to set up and run a simulation involving two-way Fluid-Structure Interaction, where the fluid physics is solved in ANSYS CFX and the solid physics is solved in the FEA package ANSYS. Coupling between the two solvers is required throughout the solution to model the interaction between fluid and solid as time progresses, and the framework for the coupling is provided by the ANSYS Multi-field solver, using the MFX setup.

The geometry consists of a 2D closed cavity. A thin plate is anchored to the bottom of the cavity as shown below:

An initial pressure of 100 Pa is applied to one side of the thin plate for 0.5 seconds in order to distort it. Once this pressure is released, the plate oscillates backwards and forwards as it attempts to regain its equilibrium (vertical) position. The surrounding fluid damps the oscillations, which therefore have an amplitude that decreases in time. The CFX Solver calculates how the fluid responds to the motion of the plate, and the ANSYS Solver calculates how the plate deforms as a result of both the initial applied pressure and the pressure resulting from the presence of the fluid. Coupling between the two solvers is required since the solid deformation affects the fluid solution, and the fluid solution affects the solid deformation.

The tutorial describes the setup and execution of the calculation including the setup of the solid physics in Simulation (within ANSYS Workbench) and the setup of the fluid physics and ANSYS Multi-field settings in ANSYS CFX-Pre. If you do not have ANSYS Workbench, then you can use the provided ANSYS input file to avoid the need for Simulation.

3.Setting up the Solid Physics in Simulation (ANSYS Workbench)

This section describes the step-by-step definition of the solid physics in Simulation within ANSYS Workbench that will result in the creation of an ANSYS input file OscillatingPlate.inp. If you prefer, you can instead use the provided OscillatingPlate.inp file and continue from Setting up the Fluid Physics and ANSYS Multi-field Settings in ANSYS CFX-Pre.

Creating a New Simulation

1.If required, launch ANSYS Workbench.

2.Click Empty Project. The Project page appears displaying an unsaved project.

3.Select File > Save or click Save button.

4.If required, set the path location to a different folder. The default location is your working

directory. However, if you have a specific folder that you want to use to store files created during this tutorial, change the path.

5.Under File name, type OscillatingPlate.

6.Click Save.

7.Under Link to Geometry File on the left hand task bar click Browse. Select the provided

file OscillatingPlate.agdb and click Open.

8.Make sure that OscillatingPlate.agdb is highlighted and click New simulation from the

left-hand taskbar.

Creating the Solid Material

1.When Simulation opens, expand Geometry in the project tree at the left hand side of the

Simulation window.

2.Select Solid, and in the Details view below, select Material.

https://www.doczj.com/doc/5118268187.html,e the arrow that appears next to the material name Structural Steel to select New

Material.

4.When the Engineering Data window opens, right-click New Material from the tree view

and rename it to Plate.

5.Enter 2.5e06 for Young's Modulus, 0.35 for Poisson's Ratio and 2550 for Density.

Note that the other properties are not used for this simulation, and that the units for these values are implied by the global units in Simulation.

6.Click the Simulation tab near the top of the Workbench window to return to the

simulation.

Basic Analysis Settings

The ANSYS Multi-field simulation is a transient mechanical analysis, with a timestep of 0.1 s and a time duration of 5 s.

1.Select New Analysis > Flexible Dynamic from the toolbar.

2.Select Analysis Settings from the tree view and in the Details view below, set Auto Time

Stepping to Off.

3.Set Time Step to 0.1.

4.Under Tabular Data at the bottom right of the window, set End Time to

5.0 for the

Steps = 1 setting.

Inserting Loads

Loads are applied to an FEA analysis as the equivalent of boundary conditions in ANSYS CFX. In this section, you will set a fixed support, a fluid-solid interface, and a pressure load. Fixed Support

The fixed support is required to hold the bottom of the thin plate in place.

1.Right-click Flexible Dynamic in the tree and select Insert> Fixed Support from the

shortcut menu.

2.Rotate the geometry using the Rotate button so that the bottom (low-y) face of the

solid is visible, then select Face and click the low-y face.

That face should be highlighted to indicate selection.

3.Ensure Fixed Support is selected in the Outline view, then, in the Details view, select

Geometry and click 1 Face to make the Apply button appear (if necessary). Click Apply to set the fixed support.

Fluid-Solid Interface

It is necessary to define the region in the solid that defines the interface between the fluid in CFX and the solid in ANSYS. Data is exchanged across this interface during the execution of the simulation.

1.Right-click Flexible Dynamic in the tree and select Insert > Fluid Solid Interface from

the shortcut menu.

https://www.doczj.com/doc/5118268187.html,ing the same face-selection procedure described earlier, select the three faces of the

geometry that form the interface between the solid and the fluid (low-x, high-y and high-x faces) by holding down to select multiple faces. Note that this load is automatically given an interface number of 1.

Pressure Load

The pressure load provides the initial additional pressure of 100 [Pa] for the first 0.5 seconds of the simulation. It is defined using a step function.

1.Right-click Flexible Dynamic in the tree and select Insert > Pressure from the shortcut

menu.

2.Select the low-x face for Geometry.

3.In the Details view, select Magnitude, and using the arrow that appears, select Tabular

(Time).

4.Under Tabular Data, set a pressure of 100 in the table row corresponding to a time of 0.

Note: The units for time and pressure in this table are the global units of [s]and [Pa], respectively.

5.You now need to add two new rows to the table. This can be done by typing the new time

and pressure data into the empty row at the bottom of the table, and Simulation will automatically re-order the table in order of time value. Enter a pressure of 100 for a time value of 0.499, and a pressure of 0 for a time value of 0.5.

This gives a step function for pressure that can be seen in the chart to the left of the table. Writing the ANSYS Input File

The Simulation settings are now complete. An ANSYS Multi-field run cannot be launched from within Simulation, so the Solve buttons cannot be used to obtain a solution.

1.Instead, highlight Solution in the tree, select Tools> Write ANSYS Input File and

choose to write the solution setup to the file OscillatingPlate.inp.

2.The mesh is automatically generated as part of this process. If you want to examine it,

select Mesh from the tree.

3.Save the Simulation database, use the tab near the top of the Workbench window to return

to the Oscillating Plate [Project] tab, and save the project itself.

4.Setting up the Fluid Physics and ANSYS Multi-field Settings in ANSYS CFX-Pre

This section describes the step-by-step definition of the flow physics and ANSYS Multi-field settings in ANSYS CFX-Pre.

Playing a Session File

If you want to skip past these instructions and to have ANSYS CFX-Pre set up the simulation automatically, you can select Session > Play Tutorial from the menu in ANSYS CFX-Pre, then run the session file: OscillatingPlate.pre. After you have played the session file as described in earlier tutorials under Playing the Session File and Starting ANSYS CFX-Solver Manager, proceed to Obtaining a Solution using ANSYS CFX-Solver Manager.

Creating a New Simulation

1.Start ANSYS CFX-Pre.

2.Select File > New Simulation.

3.Select General and click OK.

4.Select File > Save Simulation As.

5.Under File name, type OscillatingPlate.

6.Click Save.

Importing the Mesh

1.Right-click Mesh and select Import Mesh.

2.Select the provided mesh file, OscillatingPlate.gtm and click Open.

Note:The file that was just created in Simulation, OscillatingPlate.inp, will be used as an input file for the ANSYS Solver.

Setting the Simulation Type

A transient ANSYS Multi-field run executes as a series of timesteps. The Simulation Type tab is used both to enable an ANSYS Multi-field run and to specify the time-related settings for it (in the External Solver Coupling settings). The ANSYS input file is read by ANSYS CFX-Pre so that it knows which Fluid Solid Interfaces are available.

Once the timesteps and time duration are specified for the ANSYS Multi-field run (coupling run), ANSYS CFX automatically picks up these settings and it is not possible to set the timestep and time duration independently. Hence the only option available for Time Duration is Coupling Time Duration, and similarly for the related settings Time Step and Initial Time.

1. Click

Simulation Type .

2. Apply the following settings

3. Click OK .

Note :You may see a physics validation message related to the difference in the units used in ANSYS CFX-Pre and the units contained within the ANSYS input file. While it is important to review the units used in any simulation, you should be aware that, in this specific case, the message is not crucial as it is related to temperature units and there is no heat transfer in this case. Therefore, this specific tutorial will not be affected by the physics message.

Creating the Fluid

A custom fluid is created with user-specified properties.

1. Click Material .

2. Set the name of the new material to Fluid.

3. Apply the following settings

4.Click OK.

Creating the Domain

In order to allow the ANSYS Solver to communicate mesh displacements to the CFX Solver, mesh motion must be activated in CFX.

1.Right click Simulation in the Outline tree view and ensure that Automatic Default

Domain is selected. A domain named Default Domain should now appear under the Simulation branch.

2.Double click Default Domain and apply the following settings

3.Click OK.

Creating the Boundary Conditions

In addition to the symmetry conditions, another type of boundary condition corresponding with the interaction between the solid and the fluid is required in this tutorial.

Fluid Solid External Boundary

The interface between ANSYS and CFX is defined as an external boundary in CFX that has its mesh displacement being defined by the ANSYS Multi-field coupling process.

When an ANSYS Multi-field specification is being made in ANSYS CFX-Pre, it is necessary to provide the name and number of the matching Fluid Solid Interface that was created in Simulation. Since the interface number in Simulation was 1, the name in question is FSIN_1. (If the interface number had been 2, then the name would have been FSIN_2, and so on.)

On this boundary, CFX will send ANSYS the forces on the interface, and ANSYS will send back the total mesh displacement it calculates given the forces passed from CFX and the other defined loads.

1.Create a new boundary condition named Interface.

2.Apply the following settings

3.Click OK.

Symmetry Boundaries

Since a 2D representation of the flow field is being modeled (using a 3D mesh with one element thickness in the Z direction) symmetry boundaries will be created on the low and high Z 2D regions of the mesh.

1.Create a new boundary condition named Sym1.

2.Apply the following settings

3.Click OK.

4.Create a new boundary condition named Sym2.

5.Apply the following settings

6.Click OK.

Setting Initial Values

Since a transient simulation is being modeled, initial values are required for all variables.

1. Click

Global Initialization

. 2. Apply the following settings:

3. Click OK .

Setting Solver Control

Various ANSYS Multi-field settings are contained under Solver Control under the External Coupling tab. Most of these settings do not need to be changed for this simulation.

Within each timestep, a series of “coupling” or “stagger” iterations are performed to ensure that CFX, ANSYS and the data exchanged between the two solvers are all consistent. Within each stagger iteration, ANSYS and CFX both run once each, but which one runs first is a user-specifiable setting. In general, it is slightly more efficient to choose the solver that drives the simulation to run first. In this case, the simulation is being driven by the initial pressure applied in ANSYS, so ANSYS is set to solve before CFX within each stagger iteration.

1. Click Solver Control .

2. Apply the following settings:

3.Click OK.

Setting Output Control

This step sets up transient results files to be written at set intervals.

1.Click Output Control .

2.On the Trn Results tab, create a new transient result with the default name.

3.Apply the following settings to Transient Results 1:

4.Click the Monitor tab.

5.Select Monitor Options.

6.Under Monitor Points and Expressions:

7.Click Add new item and accept the default name.

8.Set Option to Cartesian Coordinates.

9.Set Output Variables List to Total Mesh Displacement X.

10.Set Cartesian Coordinates to [0, 1, 0].

11.Click OK.

Writing the Solver (.def) File

1.Click Write Solver File .

2.If the Physics Validation Summary dialog box appears, click Yes to proceed.

3.Apply the following settings

4.Ensure Start Solver Manager is selected and click Save.

5.If you are notified the file already exists, click Overwrite.

6.This file is provided in the tutorial directory and will exist in your working folder if you

have copied it there.

7.Quit ANSYS CFX-Pre, saving the simulation (.cfx) file at your discretion.

5.Obtaining a Solution using ANSYS CFX-Solver Manager

The execution of an ANSYS Multi-field simulation requires both the CFX and ANSYS solvers to be running and communicating with each other. ANSYS CFX-Solver Manager can be used to launch both solvers and to monitor the output from both.

1.Ensure the Define Run dialog box is displayed.

There is a new MultiField tab which contains settings specific for an ANSYS Multi-field simulation.

2.On the MultiField tab, check that the ANSYS input file location is correct (the location is

recorded in the definition file but may need to be changed if you have moved files around).

3.On UNIX systems, you may need to manually specify where the ANSYS installation is if

it is not in the default location. In this case, you must provide the path to the v110/ansys directory.

4.Click Start Run.

The run begins by some initial processing of the ANSYS Multi-field input which results in the creation of a file containing the necessary multi-field commands for ANSYS, and then the ANSYS Solver is started. The CFX Solver is then started in such a way that it knows how to communicate with the ANSYS Solver.

After the run is under way, two new plots appear in ANSYS CFX-Solver Manager:

ANSYS Field Solver (Structural) This plot is produced only when the solid physics is set to use large displacements or when other non-linear analyses are performed. It shows convergence of the ANSYS Solver. Full details of the quantities are described in the ANSYS user documentation. In general, the CRIT quantities are the convergence criteria for each relevant variable, and the L2 quantities represent the L2 Norm of the relevant variable. For convergence, the L2 Norm should be below the criteria. The x-axis of the plot is the cumulative iteration number for ANSYS, which does not correspond to either timesteps or stagger iterations. Several ANSYS iterations will be

performed for each timestep, depending on how quickly ANSYS converges. You will usually see a somewhat “spiky” plot, as each quantity will be unconverged at the start of each times tep, and then convergence will improve.

ANSYS Interface Loads (Structural)This plot shows the convergence for each quantity that is part of the data exchanged between the CFX and ANSYS Solvers. In this case, four lines appear, corresponding to two force components (FX and FY) and two displacement components (UX and UY). Since the analysis is 2D, FZ and UZ are not exchanged. Each quantity is converged when the plot shows a negative value. The x-axis of the plot corresponds to the cumulative number of stagger iterations (coupling iterations) and there are several of these for every timestep. Again, a spiky plot is expected as the quantities will not be converged at the start of a timestep.

The ANSYS out file is displayed in ANSYS CFX-Solver Manager as an extra tab. Similar to the CFX out file, this is a text file recording output from ANSYS as the solution progresses.

1.Click the User Points tab and watch how the top of the plate displaces as the solution

develops.

2.When the solvers have finished and ANSYS CFX-Solver Manager puts up a dialog box

to tell you this, click Yes to post-process the results.

3.If using Standalone Mode, quit ANSYS CFX-Solver Manager.

6.Viewing Results in ANSYS CFX-Post

For an ANSYS Multi-field run, both the CFX and ANSYS results files will be opened up in ANSYS CFX-Post by default if ANSYS CFX-Post is started from a finished run in ANSYS CFX-Solver Manager.

Plotting Results on the Solid

When ANSYS CFX-Post reads an ANSYS results file, all the ANSYS variables are available to plot on the solid, including stresses and strains. The mesh regions available for plots by default are limited to the full boundary of the solid, plus certain named regions which are automatically created when particular types of load are added in Simulation. For example, any Fluid Solid Interface will have a corresponding mesh region with a name such as FSIN 1. In this case, there is also a named region corresponding to the location of the fixed support, but in general pressure loads do not result in a named region.

You can add extra mesh regions for plotting by creating named selections in Simulation - see the Simulation product documentation for more details. Note that the named selection must have a name which contains only English letters, numbers and underscores for the named mesh region to be successfully created.

Note that when ANSYS CFX-Post loads an ANSYS results file, the true global range for each variable is not automatically calculated, as this would add a substantial amount of time onto how long it takes to load such a file (you can turn on this calculation using Edit > Options and using the Pre-calculate variable global ranges setting under CFX-Post> Files). When the global range is first used for plotting a variable, it is calculated as the range within the current timestep. As subsequent timesteps are loaded into ANSYS CFX-Post, the Global Range is extended each time variable values are found outside the previous Global Range.

1.Turn on the visibility of Boundary ANSYS (under ANSYS > Domain ANSYS).

2.Right-click a blank area in the viewer and select Predefined Camera > View Towards

-Z. Zoom into the plate to see it clearly.

3.Apply the following settings to Boundary ANSYS:

4.Click Apply.

5.Select Tools> Timestep Selector from the task bar to open the Timestep Selector

dialog box. Notice that a separate list of timesteps is available for each results file loaded, although for this case the lists are the same. By default, Sync Cases is set to By Time Value which means that each time you change the timestep for one results file, ANSYS CFX-Post will automatically load the results corresponding to the same time value for all other results files.

6.Set Match to Nearest Available.

7.Change to a time value of 1 [s] and click Apply.

The corresponding transient results are loaded and you can see the mesh move in both the CFX and ANSYS regions.

1.Clear the visibility check box of Boundary ANSYS.

2.Create a contour plot, set Locations to Boundary ANSYS and Sym2, and set Variable to

Total Mesh Displacement. Click Apply.

https://www.doczj.com/doc/5118268187.html,ing the timestep selector, load time value 1.1 [s] (which is where the maximum total

mesh displacement occurs).

This verifies that the contours of Total Mesh Displacement are continuous through both the ANSYS and CFX regions.

Many FSI cases will have only relatively small mesh displacements, which can make visualization of the mesh displacement difficult. ANSYS CFX-Post allows you to visually magnify the mesh deformation for ease of viewing such displacements. Although it is not strictly necessary for this case, which has mesh displacements which are easily visible unmagnified, this is illustrated by the next few instructions.

https://www.doczj.com/doc/5118268187.html,ing the timestep selector, load time value 0.1 [s] (which has a much smaller mesh

displacement than the currently loaded timestep).

2.Place the mouse over somewhere in the viewer where the background color is showing.

Right-click and select Deformation > Auto. Notice that the mesh displacements are now exaggerated. The Auto setting is calculated to make the largest mesh displacement a fixed percentage of the domain size.

3.To return the deformations to their true scale, right-click and select Deformation > True

Scale.

Creating an Animation

https://www.doczj.com/doc/5118268187.html,ing the Timestep Selector dialog box, ensure the time value of 0.1 [s] is loaded.

2.Clear the visibility check box of Contour 1.

3.Turn on the visibility of Sym2.

4.Apply the following settings to Sym2.

5.Click Apply.

6.Create a vector plot, set Locations to Sym1 and leave Variable set to Velocity. Set

Color to be Constant and choose black. Click Apply.

7.Select the visibility check box of Boundary ANSYS, and set Color to a constant blue.

8.Click Animation .

The Animation dialog box appears.

9.Select Keyframe Animation.

10.In the Animation dialog box:

a.Click New to create KeyframeNo1.

b.Highlight KeyframeNo1, then change # of Frames to 48.

c.Load the last timestep (50) using the timestep selector.

d.Click New to create KeyframeNo2.

The # of Frames parameter has no effect for the last keyframe, so leave it at the

default value.

e.Select Save MPEG.

f.Click Browse next to the MPEG file data box to set a path and file name for

the MPEG file.

If the file path is not given, the file will be saved in the directory from which

ANSYS CFX-Post was launched.

g.Click Save.

The MPEG file name (including path) will be set, but the MPEG will not be

created yet.

h.Frame 1 is not loaded (The loaded frame is shown in the middle of the

Animation dialog box, beside F:). Click To Beginning to load it then wait

a few seconds for the frame to load.

i.Click Play the animation .

The MPEG will be created as the animation proceeds. This will be slow, since a

timestep must be loaded and objects must be created for each frame. To view the

MPEG file, you need to use a viewer that supports the MPEG format.

11.When you have finished, exit ANSYS CFX-Post.

ANSYS流固耦合计算实例

ANSYS流固耦合计算实例 Oscillating Plate with Two-Way Fluid-Structure Interaction Introduction This tutorial includes: , Features , Overview of the Problem to Solve , Setting up the Solid Physics in Simulation (ANSYS Workbench) , Setting up the Fluid Physics and ANSYS Multi-field Settings in ANSYS CFX-Pre , Obtaining a Solution using ANSYS CFX-Solver Manager , Viewing Results in ANSYS CFX-Post If this is the first tutorial you are working with, it is important to review the following topics before beginning: , Setting the Working Directory , Changing the Display Colors Unless you plan on running a session file, you should copy the sample files used in this tutorial from the installation folder for your software (/examples/) to your working directory. This prevents you from overwriting source files provided with your installation. If you plan to use a session file, please refer to Playing a Session File. Sample files referenced by this tutorial include:

ansys workbench 流固耦合计算实例

Oscillating Plate with Two-Way Fluid-Structure Interaction Introduction This tutorial includes: ?Features ?Overview of the Problem to Solve ?Setting up the Solid Physics in Simulation (ANSYS Workbench) ?Setting up the Fluid Physics and ANSYS Multi-field Settings in ANSYS CFX-Pre ?Obtaining a Solution using ANSYS CFX-Solver Manager ?Viewing Results in ANSYS CFX-Post If this is the first tutorial you are working with, it is important to review the following topics before beginning: ?Setting the Working Directory ?Changing the Display Colors Unless you plan on running a session file, you should copy the sample files used in this tutorial from the installation folder for your software (/examples/) to your working directory. This prevents you from overwriting source files provided with your installation. If you plan to use a session file, please refer to Playing a Session File. Sample files referenced by this tutorial include: ?OscillatingPlate.pre ?OscillatingPlate.agdb ?OscillatingPlate.gtm ?OscillatingPlate.inp 1.Features This tutorial addresses the following features of ANSYS CFX.

基于MpCCI的Abaqus和Fluent流固耦合案例1

CAE联盟论坛精品讲座系列 基于MpCCI的Abaqus和Fluent流固耦合案例 主讲人:mafuyin CAE联盟论坛总监 摘要:通过MpCCI流固耦合接口程序,对某薄壁管道流动中的传热过程进行了Abaqus和Fluent相结合的流固耦合仿真分析。信息介绍了从建模、设置到求解计算和后处理的全过程,对相关研究人员具有参考意义。 1 分析模型 用三维建模软件solidworks建立了一个管径为1m的弯管,结构尺寸如图1a所示,管的结构如图1b所示,流体的模型如图1c所示。值得注意的是,由于拓扑特征的原因,这样的管壁模型无法通过对圆环扫略直接生成,而需先通过对大圆的扫略生成实心的模型(类似于流体模型),然后进行抽壳得到管壁的模型。用同样的方法对大圆半径减去管壁厚度的圆进行扫略得到流体模型。 a. 尺寸关系 b. 管壁结构 c. 流体模型 图1. 几何模型示意图 图2. 流固耦合传热分析模型示意图 内壁面(耦合面) 速度入口 v=6m/s; T in=600K 外壁面 压力出口 P=0Pa;T out=300K

由于管壁结构和流体的热学行为不同,传热系数等都不一样,所以属于典型的流固耦合传热问题,热学模型如图2所示。即管的一端为流体速度入口,一端为压力出口,给定流体外壁面一个初始温度600K,流体入口速度为6m/s,温度为600K,出口相对大气压力为0Pa,出口温度为300K。需要求解流体和管壁的温度场分布情况。 2 流体模型 将图1c的流体模型以Step格式导入Fluent软件通常使用的前处理器Gambit中,如图3a所示。设置求解器为,然后划分体网格,网格尺寸为100mm,类型为六面体单元,一共生成4895个体单元,网格如图3b所示。 a. 导入Gambit软件中的流体模型 b. 流场的网格模型 图3. 流体模型及网格示意图 进行网格划分后,需定义边界条件,在Gambit软件中先分别定义速度入口(VELOCITY_INLET)、压力出口(PRESSURE_OUTLET)和壁面(Wall)三组边界条件,具体参数设置在Fluent软件中进行。然后定义流体属性,名称定义为air,类型为Fluid。这些定义的目的是能够在Fluent软件中识别出这些特征,具体类型和参数都可以在Fluent软件中进行设置和修改。定义完后点击【Export】,选择【Mesh】,选择路径和文件名称并进行输出。 打开Fluent6.3.26或以上的版本,选择3D求解器,点击【File】→【Read】→【Case】,然后选择Gambit中输出的msh文件,即可将网格文件读入Fluent 软件中。读入模型后,进行求解参数和条件的设置。

[P]ABAQUS流固耦合之--增量步参数设置

1. ABAQUS流固耦合分析步参数设置 (1)abaqus流固耦合分析步参数设置-BASIC TIME PERIOD为该分析步总时间,例如图中设定为86400s(该单位与建模时设置的系统单位一致,以下时间单位均默认为秒),则认为该分析步在86400s即24h内完成。 (2)EDIT STEP—INCREMENTATION,增量步的设置 通常type选择automatic选项,即系统根据计算速度及收敛程度自动调整增量步(fixed为固定增量步,如每一步设置8640,则进行10步,最终总时间为86400,该选项不建议适用,模型复杂时易导致不收敛) Maximum number of increments,默认为100,模型复杂不易收敛时,可将其调大,即最大迭代次数增加(通常设置1000即足够)。 Initial,初始增量步,通常设定为time period的0.1~0.01倍,若模型收敛性较好,则系统将通过automatic功能自动调大增量步,加快计算速度。 Max.pore pressure change per increment,允许每步最大增量,该选项建议调大,例如本模型初始孔压最大值为6e5pa,则该选项可设定大于e5的数量级(设置过小,如e-5,则每步允许增量步太小,反复迭代次数过多易导致不收敛),End step when pore pressure change rate is less than可不设置,即认为其计算至最后终止。

(3)other其他选项 非线性模型求解通常勾选unsymmetric。 以下为网络帖子,其所遇到问题正是由于增量步设置导致(尤其最大允许增量步的设置),供参考。 2. 帖1 [流固耦合] abaqus流固耦合进行瞬态分析时,设定的UTOL是什么意义? 如题,最近模拟的是注水试验过程,在进行瞬态渗流分析时,采用自动时间步长里要设置一个UTOL的值,书中说这个值是增量步中允许的孔压变化最大值,决定了孔压对时间积分的精确度。 我想说的是,一开始我设置的这个UTO值比较小,但是计算怎么都不收敛,老是提醒我说time increment required is less than the minimum specified. 后来尝试了很多办法还是解决不了,最后将我原本设定的UTOL值放大了100倍,就计算成功了。 实在是想不通是为什么,这个UTOL到底是什么意思?论坛里也没有关于这个值的具体解释,希望提出来有哪位大侠指点一二,万分拜谢!

基于MpCCI的Abaqus和Fluent流固耦合案例

基于MpCCI 的Abaqus 和Fluent 流固耦合案例 mafuyin 摘要:通过MpCCI 流固耦合接口程序,对某薄壁管道流动中的传热过程进行了Abaqus 和Fluent 相结合的流固耦合仿真分析。信息介绍了从建模、设置到求解计算和后处理的全过程,对相关研究人员具有参考意义。 1 分析模型 用三维建模软件solidworks 建立了一个管径为1m 的弯管,结构尺寸如图1a 所示,管的结构如图1b 所示,流体的模型如图1c 所示。值得注意的是,由于拓扑特征的原因,这样的管壁模型无法通过对圆环扫略直接生成,而需先通过对大圆的扫略生成实心的模型(类似于流体模型),然后进行抽壳得到管壁的模型。用同样的方法对大圆半径减去管壁厚度的圆进行扫略得到流体模型。 a. 尺寸关系 b. 管壁结构 c. 流体模型 图1. 几何模型示意图 图2. 流固耦合传热分析模型示意图 内壁面(耦合面) 速度入口 v=6m/s; T in =600K 外壁面 压力出口 P=0Pa ;T out =300K

由于管壁结构和流体的热学行为不同,传热系数等都不一样,所以属于典型的流固耦合传热问题,热学模型如图2所示。即管的一端为流体速度入口,一端为压力出口,给定流体外壁面一个初始温度600K,流体入口速度为6m/s,温度为600K,出口相对大气压力为0Pa,出口温度为300K。需要求解流体和管壁的温度场分布情况。 2 流体模型 将图1c的流体模型以Step格式导入Fluent软件通常使用的前处理器Gambit 中,如图3a所示。设置求解器为,然后划分体网格,网格尺寸为100mm,类型为六面体单元,一共生成4895个体单元,网格如图3b所示。 a. 导入Gambit软件中的流体模型 b. 流场的网格模型 图3. 流体模型及网格示意图 进行网格划分后,需定义边界条件,在Gambit软件中先分别定义速度入口(VELOCITY_INLET)、压力出口(PRESSURE_OUTLET)和壁面(Wall)三组边界条件,具体参数设置在Fluent软件中进行。然后定义流体属性,名称定义为air,类型为Fluid。这些定义的目的是能够在Fluent软件中识别出这些特征,具体类型和参数都可以在Fluent软件中进行设置和修改。定义完后点击【Export】,选择【Mesh】,选择路径和文件名称并进行输出。 打开Fluent6.3.26或以上的版本,选择3D求解器,点击【File】→【Read】→【Case】,然后选择Gambit中输出的msh文件,即可将网格文件读入Fluent 软件中。读入模型后,进行求解参数和条件的设置。 (1)模型缩放:为了便于分析结果数据特征,统一采用国际单位制进行仿真,

血管流固耦合分析实例

Ansys14 workbench血管流固耦合实例 根据收集的一些资料,进行学习后,试着做了这个ansys14workbench的血管流固耦合模拟,感觉能够耦合上,仅是熟悉流固耦合分析过程,不一定正确,仅供参考,希望大家多讨论。谢谢! 1、先在proe5中建立血管与血液流体区的模型(两者装配起来),或者直接在workbench中建模。 图1 模型图 2、新建工程。在workbench中toolbox中选custom system,双击FSI: FluidFlow(fluent)->static structure. 图2 计算工程 3、修改engineering data,因为系统缺省材料是钢,需要构建血管材料,如图3所示。先复制steel,而后修改密度1150kg/m3,杨氏模量4.5e8Pa,泊松比0.3,重新命名,最后在主菜单中点击“update project”保存.

图3 修改工程材料 4、模型导入,进入gemetry模块,import外部模型文件。 图4 模型导入图 5、进入FLUENT网格划分。 在workbench工程视图中的Mesh上点击右键,选择Edit…,如图5所示,进入网格划分meshing界面,如图6所示。我们这里需要去掉血管部分,只保留血液几何。

图5 进入网格划分

图6 禁用血管模型 6、设置网格方法。 默认是采用ICEM CFD进行网格划分,设置方式如图7所示,截面圆弧边分为12份,纵截面的边均分为10份,网格结果如图8所示。另外在这个界面中要设置边界的几何面,如inlet、outlet、symmetry 图7 设置网格划分方式 图8 最终出网格

(完整版)流固耦合教学

1、打开ANSYS Workbench, 拖动各模块到空白区,并照此连接各模块。 2 2、打开第一个模块当中的Geometry,建立几何模型: (1)在XY Plane内建立Ship Shell 船长:0.4、船宽:0.14、型深0.11 将第一个Solid重命名为Ship Solid 在Concept中选择Surfaces From Faces,选中模型的六个面,然后Apply、Generate。 重命名第二个Ship Solid为Ship Shell 右击Ship Solid, 选择Hide Body,显示Ship Shell, 然后对Ship Shell执行同样操作(即隐去)

(2)在YZ Plane内建立液舱 单击(New Plane),选择YZ plane,,Apply一下 将YZ Plane 向X正方(图中为法向,即Z)向偏移0.02m Generate一下,然后Show body 一下Ship Solid 与Ship Shell 可以看到YZ Plane已平移到Body内了 再将Ship Solid 与Ship Shell 都Hide,选择Plane 4,调为正视,Generate一下 新建一个Sketch:单击,显示,在此Sketch中建立液舱模型草图

单击约束(Constrains),将草图中的“水平线”调整为水平,“垂直线”调整为垂直: 事实上仅用Horizontal(水平)和Vertical(垂直)就OK了。以水平约束为例,先单击Horizontal,再依次单击草图中的水平线段。调整后如下图所示: 定义尺寸: 左下角空缺的部分是预留贴“应变片”的部分,需要单独建模 单击Extrude(拉伸),设置Operation(下拉列表中改选为Add Frozen)与拉伸尺寸(0.1m): 然后Generate一下

流固耦合ansys命令流

new config fluid title 基于流固耦合作用下的双龙富水隧道稳定性研宄 set fluid off set log on set logfile yang 1 .log genzonradcylpOOOOpl 9.00 0p2 0 50 0 p3 0 0 8 size4 20 64 dim6 5 6 5 rat 1 1 I 1 group 围岩 gen zon cshell pOOOOpl 6.0 0 0 p2 0 50 0 p3 0 0 5.0 size 4 2064 dim 5.6 4.6 5.6 4.6 rat 1 1 1 1 group初期支护 gen zon cshell pO 0 0 0 pi 5.6 0 0 p2 0 50 0 p3 0 0 4.6 size 4 2064 dim 5.0 4.0 5.0 4.0 rat 1 1 1 1 group 二次衬砲fill group原岩 gen zon radcyl pOOOOpl 0 0 ?8.0 p2 0 50 0 p3 9.0 0 0 size 4 20 64 dim 3 6 3 6 rat 1 1 1 1 group围岩2 gen zon cshell pOOO Opl 0 0 -3.0 p2 0 50 0 p3 6.0 0 0 size 4 2064 dim 2.6 5.6 2.6 5.6 rat 1 1 1 1 group仰拱初期支护 gen zon cshell pO 0 0 Opl 0 0 -2.6 p2 0 50 0 p3 5.6 0 0 size 4 2064 dim2 5 2 5 rat 1 1 1 1 group仰拱二次衬砲fill group仰拱原岩 gen zone reflect normal -10 0 gen zone radtun pO 0 0 0 pi 45 0 0 p2 0 50 0 p3 0 0 20 size 3 20 3 12 dim 9 8 9 8 rat 1 1 1 1.1 group围岩3 gen zon reflect dip 0 ori 0 0 0 range x09y0 50z8 20 gen zon reflect dip 0 ori 0 0 0 range x 9 45 y 0 50 z 0 20 gen zon reflect dip 90 dd 270 ori 0 0 0 range x09y0 50z8 20 gen zon reflect dip 90 dd 270 ori 0 0 0 range x 0 9 y 0 50 z -8 -20 gen zon reflect dip 90 dd 270 ori 0 0 0 range x 9 45 y 0 50 z -20 20 save shuitun一model.sav model fl_iso prop perm 1.23e-9 poro 0.45 range z 4.5 20 prop perm 4.70e-10 poro 0.4 range z -20 4.5 set fl biot off ini fdensity le3 ini sat 1.0 ini food 2.0e9 ftens -le-3 ;假设围岩岩体符合mohr-coulomb本构模型,给围岩陚参数命令流如下, ;mohr-coulomb model model mohr def derive s_modl=E一modl/(2.0*(l .0+p—ratio 1)) b_modl=E_modl/(3.0*(1.0-2.0*p_ratiol)) s_mod2=E—mod2/(2.0*(l .0+p_ratio2)) bjmod2~E_mod2/(3.0*( 1.0-2.0*p_ratio2)) end

几个耦合的例子

一般说来,ANSYS的流固耦合主要有4种方式: 1,sequential 这需要用户进行APDL编程进行流固耦合 sequentia指的是顺序耦合 以采用MpCCI为例,你可以利用ANSYS和一个第三方CFD产品执行流固耦合分析。在这个方法中,基于网格的平行代码耦合界面(MpCCI) 将ANSYS和CFD程序耦合起来。即使网格上存在差别,MpCCI也能够实现流固界面的数据转换。ANSYS CD中包含有MpCCI库和一个相关实例。关于该方法的详细信息,参见ANSYS Coupled-Field Analysis Guide中的Sequential Couplin 2,FSI solver 流固耦合的设置过程非常简单,推荐你使用这种方式 3,multi-field solver 这是FSI solver的扩展,你可以使用它实现流体,结构,热,电磁等的耦合 4,直接采用特殊的单元进行直接耦合,耦合计算直接发生在单元刚度矩阵 一个流固耦合的例子 length=2 width=3 height=2 /prep7 et,1,63 et,2,30 !选用FLUID30单元,用于流固耦合问题 r,1,0.01 mp,ex,1,2e11 mp,nuxy,1,0.3 mp,dens,1,7800 mp,dens,2,1000 !定义Acoustics材料来描述流体材料-水 mp,sonc,2,1400 mp,mu,0, ! block,,length,,width,,height esize,0.5 mshkey,1 ! type,1 mat,1 real,1 asel,u,loc,y,width amesh,all alls ! type,2 mat,2 vmesh,all

(完整版)5流固耦合

第五章 轴流泵的流固耦合 5-1 流固耦合概论 流固耦合问题一般分为两类,一类是流‐固单向耦合,一类是流‐固双向耦合。单向耦合 应用于流场对固体作用后,固体变形不大,即流场的边界形貌改变很小,不影响流场分布的, 可以使用流固单向耦合。先计算出流场分布,然后将其中的关键参数作为载荷加载到固体结 构上。典型应用比如小型飞机按刚性体设计的机翼,机翼有明显的应力受载,但是形变很小, 对绕流不产生影响。当固体结构变形比较大,导致流场的边界形貌发生改变后,流场分布会 有明显变化时,单向耦合显然是不合适的,因此需要考虑固体变形对流场的影响,即双向耦 合。比如大型客机的机翼,上下跳动量可以达到5 米,以及一切机翼的气动弹性问题,都是 因为两者相互影响产生的。因此在解决这类问题时,需要进行流固双向耦合计算。下面简单 介绍其理论基础。 连续流体介质运动是由经典力学和动力学控制的,在固定产考坐标系下,它们可以被表 达为质量、动量守恒形式: ()0v t ρρ?+??=? (1) ()B v vv f t ρρτ?+??-=? (2) 式中,ρ为流体密度;v 为速度向量;B f 流体介质的体力向量;τ为应力张量;在旋 转的参考坐标系下,控制方程变为: ()0r v v t ρρ?+??=? (3) (-)+B r r c v v v f f t ρρτ?+??=? (4) 形式和固定坐标系下基本相同,只是速度变成了相对速度,另外就是增加了附加力项 c f 。 固体有限元动力控制方程为: []{}[]{}{}...[]{}M u C u K u F ++= (5) 式中,[]M ,[]C ,[]K 分别是质量矩阵,阻尼矩阵以及刚度矩阵,{}F 为载荷矩阵。 流固耦合遵循最基本的守恒原则,所以在流固耦合交界面处,应满足流体与固体应力、 位移、热流量、温度等变量的相等或守恒,即满足如下四方程: f f s s n n ττ?=? (6) f s d d = (7) f s q q = (8) f s T T = (9) 5-2 单向流固耦合

fluent单项流固耦合

流固耦合(Fluid-solid interaction,FSI)计算,通常用于考虑流体与固体间存在强烈的相互作用时,对流体流场与固体应力应变的考察。FSI计算按数据传递方式可分两类:单向耦合与双向耦合。所谓单向耦合,主要是指数据只从流体计算传递压力到固体,或者只从固体计算传递网格节点位移到流体。双向耦合则在每一时刻都同时向对方发送相应的物理量(流体计算发送压力数据,固体计算发送位移数据)。 ANSYS Workbench中可以利用Fluent与DS进行单向流固耦合计算。我们这里来举一个最简单的单向耦合例子:风吹挡板。我们假定挡板位移可忽略不计,固体变形对流场影响可以忽略,所考虑的是流体压力作用在固体上,固体的应力分布。当然这里的压力可以换成温度等其他物理量。 1、新建工程。注意是从Fluent –> Static Structure。连接图如1所示。 图1 计算工程关 系图2 进入DM建模 2、进入Fluent中的DM进行模型创建,如图2所示。 流固耦合计算中的几何模型与单纯的流体模型或固体模型不同,它要求同时具有流体和固体模型,而且流体计算中只能有流体模型,固体计算中只能有固体模型。建好后的模型如图3,4,5所示。由于固体模型需要从这里导入,所以我们保留固体与流体模型。

图3 实体模型 图4 固体模型

图5 流体模型 3、进入FLUENT网格设置。 在FLUENT工程视图中的Mesh上点击右键,选择Edit…,如图6所示,进入网格划分meshing界面,如图7所示。我们这里需要去掉固体部分,只保留流体几何。 图6 进入网格划 分图7 禁用固体模型

最新fluent流固耦合传热设置问题

FLUENT流固耦合传热设置问题 看到很多网友对于fluent里模拟流固耦合传热(同时有对流和导热)有很多疑问,下面说说我的解决方法。 1,首先要分清你的问题是否是流固耦合传热。 (1)如果你的传热问题只是流体与固体壁面的传热,不涉及到固体壁面内部的导热,那么这就是一个对流传热问题,不是流固耦合传热问题, 这时候你只需要设置壁面的对流换热系数即可。如下图 注意右边这几个参数的含义:从上往下依次为:壁面外部的对流传热系数;外部流体温度;壁面厚度;壁面单位体积发热率。 这里没有内部流体的对流传热设置,因为fluent会根据流体温度以及壁面温度,利用能量守恒,自动计算内壁流体与壁面的对流换热情况。 (2)流固耦合传热问题。在建模的时候你应该定义两个区域,流体区域和固体区域,并且在切割区域的时候,你应该选中connect,如下图所 示 边界条件设置:交界面为wall。在导入fluent以后,fluent就会自动生成wall-shadow。这样在流固交界面上就生成了一对耦合的面,如下图所示,

。 2,耦合传热设置问题 (1)首先就是求解器的设置问题,应该选择耦合求解器,虽然计算速度会慢一些,但是这更符合实际情况,更容易收敛,误差更小。如果是非 稳态过程还应选择unsteady。如下图所示 (2)交界面设置问题,这个是关键。不用过多的设置只需要选择coupled。 这样fluent就会自动计算耦合面的传热问题。如下图所示

(3)当然还要选择能量方程。其他诸如湍流模型、材料设置、进出口条件等等,需要你根据实际情况设定,这里不再雷述。1.在国际单位制中,电荷的单位是 A. 伏特 B. 安培 C. 库仑 D.瓦特 2.小明家装修房屋需要购买导线,关于导线种类的选择,最恰当的是: A.强度大的铁丝B.细小价格较便宜的铝丝 C.粗一点的铜丝D.性能稳定的镍铬合金丝 3.小明在研究通过导体的电流时,根据测量数据绘制出如图 所示的I-U图像。对此作出的判断中,错误 ..的是: A.通过R1的电流与它两端所加电压成正比 B.通过R2的电流与它两端所加电压不成正比 C.将它们串联接入到同一电路中时,通过R1的电流较小 D.将它们并联连接到两端电压为1.5V的电路中时,通过 干路的电流大约是0.46A 4.小灯泡L上标有“2.5V”字样,它的电阻随它两端电压变化的图像如图甲所示。将小灯泡L和电阻R0接入图乙所示的电路中,电源电压为6V,且保持不变。当开 关S闭合时,小灯泡L恰好能正常发光。 下列说法正确的是: A.开关S断开时,小灯泡L的电阻为0Ω B.开关S闭合时,小灯泡L的电阻为8Ω C.小灯泡L的额定功率为0.5W D.电阻R0的阻值为14Ω 5.假设导体没有电阻,当用电器通电时,下列说法正确的是() A.白炽灯仍然能发光B.电动机仍然能转动 C.电饭锅仍然能煮饭D.电熨斗仍然能熨衣服 6.在图8所示电路中,闭合开关S后,在滑片P 向右滑动过程中,各电表示数变化正确的 是() A.A1、A3示数不变,A2、V示数变小 B.A1、V 示数不变,A2、A 3示数变大R1 R2

abaqus与fluent流固耦合

基于MPCCI的流固耦合成功案例 基于MPCCI的流固耦合成功案例 (一)机翼气动弹性分析 1 问题陈述 机翼绕流问题是流固耦合中的经典问题。以前由于缺乏考虑流固耦合的软件,传统的分析方法是将机翼视为刚体,不考虑其弹性变形,通过CFD软件来计算机翼附近的流场。这个强硬的假设很难准确的描述流场的实际情况。更无法预测机翼的振动。MPCCI是基于代码耦合的并行计算接口,它可以同时调用结构和流体的软件来实现流固耦合。我们通过MPCCI,能很好的预测真实情况下的机翼绕流问题。采用ABAQUS结构分析软件来求解结构在流畅作用下的变形和应力分布,通过Fluent软件来计算由于固体运动和变形对整个流场的影响。 2 模拟过程分析顺序 MpCCI的图形用户界面可以方便的读入结构和流体的输入文件。后台调用ABAQUS和FLUENT。在MPCCI耦合面板中选择耦合面,然后选择在相应耦合面上流体和固体需要交换的量。启动MpCCI进行耦合。 3 边界条件设置

图1 无人机模型和流体计算模型 结构部分单个机翼跨度在1.5m左右,厚度为0.1m左右。边界条件为机翼端部的固定,三个方向的位移完全固定,另一端完全自由。在固体中除了固定端的面外,其他三个面为耦合面。流体部分采用四面体网格,采用理想气体作为密度模型。流体的入口和出口以及对称性边界条件如下图所示。 图2 固体有限元模型 4 计算方法的选择 通过结合ABAQUS和FLUENT,使用MPCCI计算流固耦合。在本例中,固体在流场作用下产生很大的变形和运动。在耦合区域,固体结构部分计算耦合面上的节点位移,通过MPCCI传输给FLUENT的耦合界面,FLUENT 计算出耦合区域上的节点力载荷,然后通过MPCCI传给结构软件ABAQUS。在MPCCI的耦合面板中选择的耦合面如图所示,交换量为:节点位移、相对受力。采用ABAQUS中的STANDARD算法,时间增量步长为0.1毫秒。 5 计算结论 通过MPCCI结合ABAQUS和FLUENT,成功地计算在几何非线性条件下的气动弹性问题,得到了整个流体区域的流场分布以及结构的动态响应历程。

双向流固耦合实例

双向流固耦合实例(Fluent与structure) 说明:本例只应用于FLUENT14.0以上版本。 ANSYS 14.0是2011年底新推出的版本,在该版本中,加入了一个新的模块System Coupling,目前只能用于fluent与ansys mechanical的双向流固耦合计算。官方文档中有介绍说以后会逐渐添加对其它求解器的支持,不过这不重要,重要的是现在FLUENT终于可以不用借助第三方软件进行双向流固耦合计算了,个人认为这是新版本一个不小的改进。 模块及数据传递方式如下图所示。 一、几何准备 流固耦合计算的模型准备与单独的流体计算不同,它需要同时创建流体模型与固体模型。在geometry模块中同时创建流体模型与固体模型。到后面流体模型或固体模块中再进行模型禁用处理。 模型中的尺寸:v1:32mm,h2:120mm,h5:60mm,h3:3mm,v4:15mm。 由于流体计算中需要进行动网格设置,因此推荐使用四面体网格。当然如果挡板刚度很大网格变形很小时,可以使用六面体网格,划分六面体网格可以先将几何进行slice切割。这里对流体区域网格划分六面体网格,固体域同样划分六面体网格。 二、流体部分设置 1、网格划分 双击B3单元格,进入meshing模块进行网格划分。禁用固体部分几何。设定各相关部分的尺寸,由于固体区域几何较为整齐,因此在切割后只需设定一个全局尺寸即可划分全六面体网格。这里设定全局尺寸为1mm。划分网格后如下图所示。

2、进行边界命名,以方便在fluent中进行边界条件设置 设置左侧面为速度进口velocity inlet,右侧面为自由出流outflow,上侧面为壁面边界wall_top,正对的两侧面为壁面边界wall_side1与wall_side2(这两个边界在动网格设定中为变形域),设定与固体交界面为壁面边界(该边界在动网格中设定为system coupling类型)。 操作方式:选择对应的表面,点击右键,选择菜单create named selection,然后输入相应的边界名称。注意:FLUENT会自动检测输入的名称以使用对应的边界类型,当然用户也可以在fluent进行类型更改。完成后的树形菜单如下图所示。 本部分操作完毕后,关闭meshing模块。返回工程面板。 3、进入fluent设置 FLUENT主要进行动网格设置。其它设置与单独进行FLUENT仿真完全一致。 设置使用瞬态计算,使用K-Epsilon湍流模型。 这里的动网格主要使用弹簧光顺处理(由于使用的是六面体网格且运动不规律),需要使用TUI命令打开光顺对六面体网格的支持。使用命令 /define/dynamic-mesh/controls/smoothing-parameters。 动态层技术与网格重构方法在六面体网格中失效。因此,建议使用四面体网格。我们这里由于变形小,所以只使用光顺方法即可满足要求。 点击Dynamic mesh进入动网格设置面板。如下图所示,激活动网格模型。

滚筒洗衣机ABAQUS流固耦合实例分析步骤共24页.docx

例子的来源是Abaqus CLE的官方教程,可是写的太粗线条,我还是搞了两天才做 出了这个例子。其实就是个滚筒洗衣机带着洗衣机里的水一起转的问题。 1. 分别为Eulerian domain和Lagrangian domain建立两个part 建立Lagrangian domain的Part,类型设置为Discrete rigid,并设置Reference Point。 建立Eulerian domain的Part,类型设置为Eulerian,要注意Eulerian domain 和Lagrangian domain要保证有重叠的部分,这是一种弱耦合,数据在两个区域间抛来抛去,所以网格要有重叠部分。这导致在Eulerian domain里有的部分是有材料的,有的地方是没有材料的。为了之后设置材料分布时候方便,要把part实现划出几个辅助的partition。黄色虚线是在划分partition时,为了指明 Extrude/Sweep方向用到的辅助坐标轴。

2. 定义水的材料属性 选择状态方程模型EOS中Us-Up,设置声速c0=1483m/s;密度为1000kg/m3;粘度为0.001kg/ms。并把截面属性赋给Eulerian domain。

3. 把两个Part组装起来

4. 新建一个Step-1 5. 为Eulerian domain和Lagrangian domain划分网格

6. 设置接触 新建一个Contact Property,因为不是普通的面和面的接触,水中的任何的一个部

分可能在流动区域里的任何一个地方和Lagrangian domain接触,设置Tangential Behavior为Rough,赋给水和洗衣机之间的关系。新建一个Interaction,把刚才的Contact Property赋给它。 更重要的是设置接触的两个Surface。其中一个Surface是Lagrangian domain 部分的内侧面,为Geometry类型,另一个Surface是Eulerian domain的全部网格,为Mesh类型。

【达尔整理】ANSYS流固耦合分析实例命令流

达尔文档DareDoc 分享知识传播快乐 ANSYS流固耦合分析实例命令流 本资料来源于网络,仅供学习交流 2015年10月达尔文档|DareDoc整理

目录 ANSYS流固耦合例子命令流.......................................................................... 错误!未定义书签。ANSYS流固耦合的方式 (3) 一个流固耦合模态分析的例子1 (3) 一个流固耦合模态分析的例子2 (4) 一个流固耦合建模的例子 (7) 一加筋板在水中的模态分析 (8) 一圆环在水中的模态分析 (10) 接触分析实例---包含初始间隙 (14) 耦合小程序 (19) 流固耦合练习 (21) 一个流固耦合的例子 (22) 使用物理环境法进行流固耦合的实例及讲解 (23) 针对液面晃动问题,ANSYS/LS-DYNA提供三种方法 (30) 1、流固耦合 (30) 2、SPH算法 (34) 3、ALE(接触算法) (38) 脱硫塔于浆液耦合的分析 (42) ANSYS坝-库水流固耦合自振特性的例子 (47) 空库时的INP文件 (47) 满库时的INP文件 (49) 计算结果 (52)

ANSYS流固耦合的方式 一般说来,ANSYS的流固耦合主要有4种方式: 1,sequential 这需要用户进行APDL编程进行流固耦合 sequentia指的是顺序耦合 以采用MpCCI为例,你可以利用ANSYS和一个第三方CFD产品执行流固耦合分析。在这个方法中,基于网格的平行代码耦合界面(MpCCI) 将ANSYS和CFD程序耦合起来。即使网格上存在差别,MpCCI也能够实现流固界面的数据转换。ANSYS CD中包含有MpCCI库和一个相关实例。关于该方法的详细信息,参见ANSYS Coupled-Field Analysis Guide中的Sequential Couplin 2,FSI solver 流固耦合的设置过程非常简单,推荐你使用这种方式 3,multi-field solver 这是FSI solver的扩展,你可以使用它实现流体,结构,热,电磁等的耦合 4,直接采用特殊的单元进行直接耦合,耦合计算直接发生在单元刚度矩阵 一个流固耦合模态分析的例子1 这是一个流固耦合模态分析的典型事例,采用ANSYS/MECHANICAL可以完成。处理过程中需要注意以下几个方面的问题: 1、单元的选择; 2、流体材料模式; 3、流固耦合关系的定义; 4、模态提取方法。 length=2 width=3 height=2 /prep7 et,1,63 et,2,30 !选用FLUID30单元,用于流固耦合问题 r,1,0.01 mp,ex,1,2e11 mp,nuxy,1,0.3 mp,dens,1,7800 mp,dens,2,1000 !定义Acoustics材料来描述流体材料-水 mp,sonc,2,1400 mp,mu,0, ! block,,length,,width,,height esize,0.5 mshkey,1

三个流固耦合分析实例

length=2 !定义体各种变量参数,长宽高 width=3 height=2 /prep7 et,1,63 !选用壳模型 et,2,30 !选用FLUID30单元,用于流固耦合问题r,1,0.01 增加实常数,壳厚为0.01 mp,ex,1,2e11 mp,nuxy,1,0.3 mp,dens,1,7800 !定义壳单元的各种单元属性 mp,dens,2,1000 !定义Acoustics材料来描述流体材料-水mp,sonc,2,1400 !定义声单元声速 mp,mu,0, !定义吸声系数 ! block,,length,,width,,height !建立长方体 esize,0.5 mshkey,1 ! type,1 !选择壳单元 mat,1 real,1 asel,u,loc,y,width !选择面 amesh,all !划分面单元 alls !选择所有项 ! type,2 !选择声单元 mat,2 vmesh,all !划分体单元 fini /solu antype,2 modopt,unsym,10 !非对称模态提取方法处理流固耦合问题eqslv,front mxpand,10,,,1 nsel,s,loc,x, nsel,a,loc,x,length nsel,r,loc,y d,all,,,,,,ux,uy,uz, nsel,s,loc,y,width, d,all,pres,0 !上面几步为定义边界条件和约束 alls asel,u,loc,y,width, sfa,all,,fsi !定义流固耦合界面

alls !选择所有项 solv !求解 fini /post1 !后处理 set,first plnsol,u,sum,2,1 !显示图形 fini /PREP7 !定义壳材料与性质 !壳元素与材料 ET,1,shell63 $MP,EX,1,201E9 $MP,prxy,1,0.26 $MP,dens,1,7.85E3 $r,1,0.006 !流体元素与材料 ET,2,FLUID80 $MP,EX,2,1.5e9 $MP,DENS,2,0.84e3 $mp,visc,2,1.0e-10 !以下这个keyoption怎么用? 如过用1,就会显示[Element 877 may not have a positive Z coordinate IF KEYOPT(2) = 1.],显示这个错误代表要做什么修正吗?所以我暂时用KEYOPT(2) = 0就可以跑。 KEYOPT,2,2,0 !建立壳关键点 K,1,10,0,0 $K,2,10,0,12 !建立中心线关键点 k,3,0,0,0 $k,4,0,0,20 !定义壳壁线 L,1,2 $L,1,3 !以关键点3,4为中心线旋转360度生成壳体 AROTAT,all,,,,,,3,4,360 !划分壳体网格 AATT,1,1,1 $esize,2 $mshape,0,3D $mshkey,2 $amesh,all $alls !延伸出水位体积 VEXT,2,8,2,0,0,10,0,0,0 $vglue,all

相关主题
文本预览
相关文档 最新文档