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

Monitor values by CFX-5

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 29, 2002, 08:11
Default Monitor values by CFX-5
  #1
lego
Guest
 
Posts: n/a
Hi!

In CFX-4 there is possible to monitor values in specified points, or patces, planes etc... during the transient. Is this possible by CFX-5? I did not find it.

I calculate fully developed flow with periodic boundary condition. It would be very useful, if I would be able monitor the average velocity in a certain patch during the iteration steps. Is it possible? I can monitor only the min and max values of some variables by the expert parameters.
  Reply With Quote

Old   October 29, 2002, 09:10
Default Re: Monitor values by CFX-5
  #2
cfd guy
Guest
 
Posts: n/a
You can monitor values in a specific point. Unfortunately there isn't a USRTRN subroutine to calculate average values in patches. To monitor the desired variable(s) you must edit your definition file. Major details how to do this you can easily find on the manual.
Reference Manual -> Master Index -> M -> Monitor Points.
Good luck, cfd guy
  Reply With Quote

Old   October 29, 2002, 14:15
Default Re: Monitor values by CFX-5
  #3
Bob
Guest
 
Posts: n/a
Hey Lego, the monitor points in CFX5 are real simple to set up, try appending a CCL script to the definition file when running from the comand line. If you do need to extract more complex information then the next step is to get into the user fortran. This can be tricky but you can get what ever you want out of the code with this, it just may need a little help from the guys at CFX, but they are very willing and able to help ! Dave
  Reply With Quote

Old   October 29, 2002, 16:01
Default Re: Monitor values by CFX-5
  #4
Holidays
Guest
 
Posts: n/a
It is quite easy indeed. It is available within CFX offices and is taught in intro courses I believe. Ask CFX support.
  Reply With Quote

Old   October 29, 2002, 16:12
Default Re: Monitor values by CFX-5
  #5
Robin
Guest
 
Posts: n/a
Actually, you can monitor average values.

Create an additional scalar and define the value of the scalar as an algebraic expression. For the expression, just put a dummy value in for now (build will not allow you to use the expression you need, so make it equal to 1 for now and you can add the expression by editing your CCL).

After you have written out your def file, open it in the CCL editor and change your expression to equal:

areaAve(Variable Name)@Region Name

The syntax is exactly equal to the CFX-Post expressions and any of these may be used (Area Average, Volume Average, etc.).

Now if you create a monitor point and monitor the additional variable, you will ge what you want.

Regards, Robin

P.S.: These expressions can also be used in boundary conditions, making one boundary a function of another!
  Reply With Quote

Old   October 29, 2002, 16:53
Default Re: Monitor values by CFX-5
  #6
cfd guy
Guest
 
Posts: n/a
Do you mean average values in planes (an analogy to USER2D patches in CFX-4) ? I have several common faces between two subdomains (like a interface block boundary). How can I post-process these faces? CFX-BUILD doesn't export it to POST. Thanks in advance, cfd guy
  Reply With Quote

Old   October 30, 2002, 04:25
Default Re: Monitor values by CFX-5
  #7
Astrid
Guest
 
Posts: n/a
Lego,

What you want to monitor during the solving process is the flow through an inlet, outlet, periodic boundary or what so ever. This is easy to do....

1) In the solver manager you have to define a new plot monitor. Then with your right mouse button click on the window, select flows and then in your case click on the name of the periodic boundary. This will show you the development of the flow during the iteration process.

2) alternatively you can add the keyword 'monitor totals' in the 'expert parameter section' of the ccl. This will provide the data in numbers, not in a plot.

Astrid
  Reply With Quote

Old   October 30, 2002, 05:54
Default Re: Monitor values by CFX-5
  #8
Bob
Guest
 
Posts: n/a
Hi Robin, Is there any way that you can stop a simultion automatically based upon a value at a monitoring point ? Bob
  Reply With Quote

Old   October 30, 2002, 17:51
Default Re: Monitor values by CFX-5
  #9
Robin
Guest
 
Posts: n/a
Hi Bob,

You can do this through user fortran, but it is not straightforward.

I have seen this question come up before. Why would you want to do this?

Robin
  Reply With Quote

Old   October 31, 2002, 06:48
Default Re: Monitor values by CFX-5
  #10
Bob
Guest
 
Posts: n/a
Hi Astrid, one are that I've seen has been looking at say a drag on an explicitly modelled porous plate. I was monitoring the residuals, and they were all very nicely converged, but the drag on the plate was still changing. Not greatly, but it hadn't evened off. A collegue of mine said that where he worked before, in the aerospace sector, they very rarely looked at the residuals for an indicator as to when to stop the run, they always looked at life and drag. And something we have to do occasionally is to look at residance times of air or gases in an enclosure. Often the simulation is run transiently using the fortran to inform us when say the gas concentration drops below a certain level. As you said, this is not easy to do in the fortran, but is do able. However I'm always looking to try and simplify methods, and from what Robin was saying, there may be a way of monitoring the maximum value of a scalar that we could possibly then use as a stopping parameter for our simulation once a certain criteria had been achieved. Sorry for going on. Bob
  Reply With Quote

Old   October 31, 2002, 10:56
Default Re: Monitor values by CFX-5
  #11
Robin
Guest
 
Posts: n/a
Hi Bob,

I agree that the residuals may be sufficiently low before some quantities are settled, particularly if you are looking at RMS residuals (really, you should always converge to MAX residuals).

In such cases, you should add a conservation target as an additional convergence criteria. Thus, if the MAX residual is met, but the conservation target is not, the solver will continue to run. If these quantities are still changing, then the global conservation will not be met. A conservation target of 0.0001 (1/100 of 1%) should suffice.

In every case though, you should ensure that the residuals have been reduced enough. Residuals are a necessary, but not ultimate judge of convergence.

Regards, Robin
  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
[ICEM] Proper way to name boundaries on 2D model for use in CFX? RossFS ANSYS Meshing & Geometry 4 November 10, 2011 03:38
Pros and Cons for CFX, CFdesign, COMSOL Val Main CFD Forum 3 June 10, 2011 02:20
CFX pressure in Simulations problem nasdak CFX 1 April 14, 2010 13:22
PhD using CFX Rui CFX 9 May 28, 2007 05:59
CFX 4.4 installation problem Pandu Sattvika CFX 1 December 1, 2001 05:07


All times are GMT -4. The time now is 11:34.