|
[Sponsors] |
November 15, 2022, 05:00 |
pull velocity at fluid solid interface
|
#1 |
New Member
Join Date: Apr 2019
Posts: 28
Rep Power: 7 |
Good Morning,
I like to simulate solidification in a closed system. At the fluid-solid interface I have to take the pull velocity into account. Does anyone have an idea how to write an udf for this case? I have a rectangular model filled with a fluid. I only have walls on the left and the right side and also at the top. The bottom (x-axis) is the axis of rotation. For the udf I need to implement the formula at the interface: q[W/m^2] = ug[m/s] * H[J/kg] * rho[kg/m^3] (ug = pull velocity, H = latent heat, rho = density) Thank you for your help |
|
November 15, 2022, 10:18 |
|
#2 |
New Member
Prasant
Join Date: Sep 2020
Location: India
Posts: 13
Rep Power: 6 |
Hi,
1. If you want to include pull velocity for the solidification, switch on the pull velocity and assign a constant velocity value for the pull velocity. so that the solidified cells can move with your given pull velocity. 2. if you want to write a UDF then compile a momentum source UDF and hook it to corresponding fluid cell zone momentum equations. Refer the UDF source manual for the more. |
|
November 15, 2022, 10:28 |
|
#3 |
New Member
Join Date: Apr 2019
Posts: 28
Rep Power: 7 |
Thank you for your answer.
But I have already tried both suggestions, and did not get a reasonable result. |
|
November 15, 2022, 10:35 |
|
#4 |
New Member
Prasant
Join Date: Sep 2020
Location: India
Posts: 13
Rep Power: 6 |
can you describe the problem in a detailed way, if possible?
|
|
November 16, 2022, 03:15 |
|
#5 |
New Member
Join Date: Apr 2019
Posts: 28
Rep Power: 7 |
I attached to pictures. At the first one you can see the modell. It is filled with fluid and at the upper wall I have a linear temperature boundary condition, so that one part of the fluid solidifies. Due to the solidification I have an additional energy source at the interface.
One problem is that my formula has the unit [W/m^2], while in Fluent you need the unit [W/m^3] as the energy source. Thank you |
|
November 16, 2022, 05:35 |
|
#6 |
New Member
Prasant
Join Date: Sep 2020
Location: India
Posts: 13
Rep Power: 6 |
I think the solidification model of Ansys fluent cannot explicitly track the interface. For this, you may need to look for the Eulerian multi-phase model (ex-VOF) to track the interface. There you can include the interface heat transfer model to account for heat flux due to solidification near the interface. Please look for solidification modelling using VOF in literature for this.
|
|
November 21, 2022, 12:36 |
|
#7 |
New Member
Join Date: Apr 2019
Posts: 28
Rep Power: 7 |
Thank you, I will try this approach.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Fluid Domain moving with Rigid body | Lloyd Sullivan | CFX | 3 | August 17, 2018 10:58 |
Question about adaptive timestepping | Guille1811 | CFX | 25 | November 12, 2017 18:38 |
Difficulty in calculating angular velocity of Savonius turbine simulation | alfaruk | CFX | 14 | March 17, 2017 07:08 |
Radiation interface | hinca | CFX | 15 | January 26, 2014 18:11 |
An error has occurred in cfx5solve: | volo87 | CFX | 5 | June 14, 2013 18:44 |