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

Adjusting UDM to UDS

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   May 20, 2013, 00:50
Default Adjusting UDM to UDS
  #1
Senior Member
 
Vaze
Join Date: Jun 2009
Posts: 133
Rep Power: 8
mvee is on a distinguished road
Hi

I have define adjusted UDM to UDS and for this UDS I am not solving any transport equation, hence default BC i.e flux zero and solution UDS equation in off mode.

Now in the contours of UDM and UDS, there is mismatch at on the boundaries. Because I have used, C_UDMI() = C_UDSI(). This assigns the cell centroid values only. Now in order to assign face centroid values I followed below mentioned ways but it did not work.

(1) define_profile condition on boundaries.
(2) similar to cell centroid adjustment, face centroid adjustment

If any one have tried on this issue. According to you which option should work.

Thanks in advance for your reply
Mvee
mvee is offline   Reply With Quote

Old   May 21, 2013, 00:29
Default
  #2
Senior Member
 
Vaze
Join Date: Jun 2009
Posts: 133
Rep Power: 8
mvee is on a distinguished road
any response?
mvee is offline   Reply With Quote

Old   May 21, 2013, 22:48
Default
  #3
Senior Member
 
Join Date: Aug 2011
Posts: 315
Rep Power: 12
blackmask will become famous soon enough
Have you tried to loop all the face threads and cell threads?
The UDM is not associated with certain type of boundaries.
blackmask is offline   Reply With Quote

Old   May 22, 2013, 04:27
Default
  #4
Senior Member
 
Vaze
Join Date: Jun 2009
Posts: 133
Rep Power: 8
mvee is on a distinguished road
I opted the second the way i.e adjusted the face centroid values also. This is only possible by Lookup_Thread on defined face thread.
mvee is offline   Reply With Quote

Old   May 22, 2013, 05:18
Default
  #5
Senior Member
 
Join Date: Aug 2011
Posts: 315
Rep Power: 12
blackmask will become famous soon enough
I speculate that the difference appeared in the contour is due to different interpolation schemes for UDM and UDS. Is the mismatch most apparent at the edge of your b.c.? For two-faced b.c. like interface, the UDM is not defined but I think UDS would be defined there.
blackmask is offline   Reply With Quote

Old   May 22, 2013, 07:51
Default
  #6
Senior Member
 
Vaze
Join Date: Jun 2009
Posts: 133
Rep Power: 8
mvee is on a distinguished road
I got the solution.
As I told you that for C_UDMI to C_UDSI , the cell centroid values are transfered; while it is considering the BC values on the face which is not the actual physics. Values of the algebraic expression that is stored in memory should transferred everywhere which in turn overwrite the BC. To achieve this in addition to cell centroid values, face centroid values are also incorporated through additional face loop.
mvee is offline   Reply With Quote

Old   May 22, 2013, 08:37
Default
  #7
Senior Member
 
Join Date: Aug 2011
Posts: 315
Rep Power: 12
blackmask will become famous soon enough
So what is the difference between you final solution and your first post in this thread?
blackmask is offline   Reply With Quote

Old   May 23, 2013, 02:02
Default
  #8
Senior Member
 
Vaze
Join Date: Jun 2009
Posts: 133
Rep Power: 8
mvee is on a distinguished road
Both the ways are correct. First option you can utilize on the face for which transport equation is required to be solved while second option can be utilized when there is no need of solution of scalar transport equation. Second option requires proper looping macros where I was doing mistake.
mvee is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Segmentation violation louiza FLUENT 15 January 9, 2014 13:57
UDS Unsteady with UDM shashank312 FLUENT 3 May 15, 2013 15:35
UDS stored to UDM do not show the same values swati_mohanty FLUENT 0 December 3, 2010 04:46
UDS & UDM fluent_usr FLUENT 1 June 18, 2008 03:28
usage of UDS & UDM Tong FLUENT 2 February 15, 2006 11:32


All times are GMT -4. The time now is 04:50.