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

patch option

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 7, 2015, 10:46
Default patch option
  #1
Member
 
ad
Join Date: Apr 2014
Posts: 75
Rep Power: 12
adi.ptb is on a distinguished road
hi guys
I have a little problem that hope someone could help me with,lets say we have 2 seperate tubes that are connected with a connector,i need to initialize each tubes with different pressure,the upper tube and the connector with 18 mpa and the bottom tube with 10 mpa,I used this approach,first i defined 3 zones for each tube,and initialized the whole system with 18 mpa,then i went to patch option and selected the bottom tube for the "zones to patch" and pressure for "variable" and 10mpa for "value",but when i tracked the pressure in the bottom tube the pressure was set to 18mpa instead of 10 mpa,I didnt use the mark and seperate options because of the complexibility of my geometry,can anyone help me please?thanks
adi.ptb is offline   Reply With Quote

Old   April 7, 2015, 19:46
Default
  #2
`e`
Senior Member
 
Join Date: Mar 2015
Posts: 892
Rep Power: 18
`e` is on a distinguished road
Are you sure you've applied the patch correctly (followed the steps in the user's guide)? It sounds like you've taken the correct steps, so it's strange the pressure is incorrect for the bottom tube.

Another way of achieving this pressure initialisation is to use the DEFINE_INIT macro (within a UDF) to create a set of initial values for your solution.
`e` is offline   Reply With Quote

Old   April 14, 2015, 12:17
Default
  #3
Member
 
ad
Join Date: Apr 2014
Posts: 75
Rep Power: 12
adi.ptb is on a distinguished road
actually my approach was correct,monitoring the pressure was wrong,thanks anyway
adi.ptb is offline   Reply With Quote

Old   April 26, 2017, 09:50
Default UDF Patch Coding
  #4
New Member
 
Karthik
Join Date: Apr 2017
Posts: 29
Rep Power: 9
kr660170 is on a distinguished road
Hallo friends,
Currently i am working on Ansys fluent 17.2 for simulation of atmospheric plasma spraying. I need a help in performing a UDF coding for patches. For ex: i need to do 60 patches, ie one sec = 1 patch and so on 60 secs. I have to simulate the molten liquid particle coming form the spray gun and hits on the substrate, then it splashes and solidified. The size of my patch is x=0.25 and Y =0.25 and the size of the substrate (2D) is 0.05mm. Please help with this issue.
kr660170 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
Wind turbine simulation Saturn CFX 60 July 17, 2024 06:45
Waterwheel shaped turbine inside a pipe simulation problem mshahed91 CFX 3 January 10, 2015 12:19
Multiphase simulation of bubble rising Niru CFX 5 November 25, 2014 14:57
Low Mixing time Problem Mavier CFX 5 April 29, 2013 01:00
Error finding variable "THERMX" sunilpatil CFX 8 April 26, 2013 08:00


All times are GMT -4. The time now is 22:08.