CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

Custom constraint on variables on domains interface

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 8, 2013, 03:41
Question Custom constraint on variables on domains interface
  #1
Senior Member
 
Join Date: Feb 2011
Posts: 496
Rep Power: 18
Antanas is on a distinguished road
Hello everyone!

I wonder if there any way to set custom constraint on a variables on interface between domains? Specifically how can I set value of variable v1 on one side of interface as function of variable v2 on other side of interface while v2 is determined during solution (and as a consequence v1)? v1 and v2 are both local but not integral variables.

Is it possible to do this without utilizing user fortran?
Attached Images
File Type: png expl.png (6.4 KB, 9 views)
Antanas is offline   Reply With Quote

Old   October 8, 2013, 04:07
Default
  #2
New Member
 
Join Date: Nov 2010
Posts: 5
Rep Power: 16
pz21 is on a distinguished road
Dear Antanas,
I'm not a expert on CFD. But from a momentum flux conservation viewpoint, the average velocity (for incompressible flow) on each side of the interface should be equal. I wonder what kind of relationship between v1 and v2? The function f() must satisfy the momentum conservation pricinple, so there must be some parameter in f() depends on the integration of v2. It seems there is not any simple method without UDF to solve your problem.
Just some personal thought. Expecting better answers.
pz21
pz21 is offline   Reply With Quote

Old   October 8, 2013, 05:31
Default
  #3
Senior Member
 
Join Date: Feb 2011
Posts: 496
Rep Power: 18
Antanas is on a distinguished road
Quote:
Originally Posted by pz21 View Post
Dear Antanas,
I'm not a expert on CFD. But from a momentum flux conservation viewpoint, the average velocity (for incompressible flow) on each side of the interface should be equal. I wonder what kind of relationship between v1 and v2? The function f() must satisfy the momentum conservation pricinple, so there must be some parameter in f() depends on the integration of v2. It seems there is not any simple method without UDF to solve your problem.
Just some personal thought. Expecting better answers.
pz21
Actually v1, v2 are not necessarily velocities. They may be for example electric potential. I want that its value on one side of interface be a function of its value on other side. For example v2 = (v1 - A), where A may (not) be constant.
Antanas is offline   Reply With Quote

Old   October 8, 2013, 06:25
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,870
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
This is straight forward to do using a source term. If you are talking about algebraic quantities then you can just make a function of whatever you like. But implementation is one thing, obtaining convergence is another - weird source terms are difficult (even impossible) to converge.
ghorrocks 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
[ICEM] ICEM MRF Interface - Penetrating Elements survADe ANSYS Meshing & Geometry 9 February 4, 2015 03:26
Confused about periodic interface Jeff STAR-CCM+ 3 August 15, 2012 23:30
interface with different sector domains Babu Venkat Main CFD Forum 1 June 26, 2006 07:59
Convective Heat Transfer - Heat Exchanger Mark CFX 6 November 15, 2004 16:55
Replace periodic by inlet-outlet pair lego CFX 3 November 5, 2002 21:09


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