CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens > STAR-CCM+

How to define a threshold defined between two moving position

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 27, 2021, 17:22
Default How to define a threshold defined between two moving position
  #1
New Member
 
Giulia Gaudino
Join Date: Oct 2021
Posts: 1
Rep Power: 0
Student1830 is on a distinguished road
Hello everyone, I am new in the forum. I am simulating the diffusion in an interface between two gas with a 2D simulation .

In order to extrapolate the data, I defined a threshold with the mass fraction of one of the gas between 5% and 95%. Now, I would like to define a new threshold.

The new threshold has a lower limit, the minimum of the previous threshold minus 10% of the amplitude of the previous threshold, while the upper limit is the maximum of the previous threshold + 10% of the amplitude of the previous threshold.

I am a bit confused about how to do that. For now I defined two functions:
function 1: min - 0.1*amplitude
function 2: max + 0.1*amplitude

Now, I would like to define a threshold, where the position (Centroid (x)) is in between the two functions.

Has anyone any idea of a possible solution?

Thank you very much for any ideas!
Student1830 is offline   Reply With Quote

Reply

Tags
centroid, move, threshold


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
[swak4Foam] How to define boundary condition variables by using previosly defined variables? pawlo OpenFOAM Community Contributions 8 September 13, 2020 12:37
HELP----Surface Reaction UDF Ashi Fluent UDF and Scheme Programming 1 May 19, 2020 22:13
Laminar Kinetic Energy Model (Walters 2008) logoswort Fluent UDF and Scheme Programming 2 May 19, 2017 20:41
Robin B.C. Yu FLUENT 3 May 27, 2012 05:19
REAL GAS UDF brian FLUENT 6 September 11, 2006 09:23


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