CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

pull velocity at fluid solid interface

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 15, 2022, 04:00
Default pull velocity at fluid solid interface
  #1
New Member
 
Join Date: Apr 2019
Posts: 28
Rep Power: 7
ana86 is on a distinguished road
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
ana86 is offline   Reply With Quote

Old   November 15, 2022, 09:18
Default
  #2
New Member
 
Prasant
Join Date: Sep 2020
Location: India
Posts: 13
Rep Power: 5
PKP_India is on a distinguished road
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.
PKP_India is offline   Reply With Quote

Old   November 15, 2022, 09:28
Default
  #3
New Member
 
Join Date: Apr 2019
Posts: 28
Rep Power: 7
ana86 is on a distinguished road
Thank you for your answer.
But I have already tried both suggestions, and did not get a reasonable result.
ana86 is offline   Reply With Quote

Old   November 15, 2022, 09:35
Default
  #4
New Member
 
Prasant
Join Date: Sep 2020
Location: India
Posts: 13
Rep Power: 5
PKP_India is on a distinguished road
can you describe the problem in a detailed way, if possible?
PKP_India is offline   Reply With Quote

Old   November 16, 2022, 02:15
Default
  #5
New Member
 
Join Date: Apr 2019
Posts: 28
Rep Power: 7
ana86 is on a distinguished road
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
Attached Images
File Type: jpg Modell.jpg (22.3 KB, 19 views)
File Type: jpg Modell2.jpg (27.2 KB, 17 views)
ana86 is offline   Reply With Quote

Old   November 16, 2022, 04:35
Default
  #6
New Member
 
Prasant
Join Date: Sep 2020
Location: India
Posts: 13
Rep Power: 5
PKP_India is on a distinguished road
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.
PKP_India is offline   Reply With Quote

Old   November 21, 2022, 11:36
Default
  #7
New Member
 
Join Date: Apr 2019
Posts: 28
Rep Power: 7
ana86 is on a distinguished road
Thank you, I will try this approach.
ana86 is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fluid Domain moving with Rigid body Lloyd Sullivan CFX 3 August 17, 2018 09:58
Question about adaptive timestepping Guille1811 CFX 25 November 12, 2017 17:38
Difficulty in calculating angular velocity of Savonius turbine simulation alfaruk CFX 14 March 17, 2017 06:08
Radiation interface hinca CFX 15 January 26, 2014 17:11
An error has occurred in cfx5solve: volo87 CFX 5 June 14, 2013 17:44


All times are GMT -4. The time now is 15:29.