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

Varibales for user coding

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 8, 2009, 10:19
Default Varibales for user coding
  #1
New Member
 
FLo
Join Date: Sep 2009
Posts: 2
Rep Power: 0
Tomo is on a distinguished road
Hi all,

our research group just moved from STAR-CD to STAR-CCM (v. 4.xx) and we are wondering if there are more variables available for user coding than those (~ 20) stated in the user guide?
I mean, STAR-CD had over 100 different accessible variables...

Our specific problem: how we can get the value of a "passive scalar" at a certain position (cell number) at a given time (transient simulation)??

Maybe someone in this forum has some experience with coding in STAR-CCM and wants to give me a little advice?

Thank u
Tomo is offline   Reply With Quote

Old   September 8, 2009, 19:42
Default
  #2
Senior Member
 
Join Date: Mar 2009
Location: Austin, TX
Posts: 160
Rep Power: 18
kyle is on a distinguished road
User coding also has access to all field functions. I think one of the sample cases shows how to access them.

You also should consider that you may no longer need user coding. Unless your code is very complex and you need to write it in C or Fortran to keep it manageable, there is really no reason to use user coding over user field functions. This way you do not have to worry about compiling and linking your simulation to an external library, and the entire simulation is contained in one file.
kyle is offline   Reply With Quote

Old   September 9, 2009, 04:25
Default
  #3
New Member
 
FLo
Join Date: Sep 2009
Posts: 2
Rep Power: 0
Tomo is on a distinguished road
Thanks kyle for your reply!

I already tried around with field functions and I agree that this approach would be much more convenient to solve my problem.

As I mentioned in the opening thread, our prob is rather simple from the mathematical point of view, therefore no user coding might be necessary.

But at the moment I'm not sure how to get even accsess to certain variables, like the concentration of a passive scalar at a certain iteration step.

I am already in contact with the cd-adapco supoport and hopfully they can enlighten me.

Operations which were possible to handle with STAR-CD 3.x should be no problem for STAR-CCM, or ??
Tomo is offline   Reply With Quote

Old   September 10, 2009, 03:49
Default
  #4
Senior Member
 
Join Date: Mar 2009
Posts: 260
Rep Power: 18
Maddin is on a distinguished road
CCM sometimes don't shows all fiel functions. When you had used them in a Scene as a scalar you find them in field functions after a refresh!
Maddin 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
Coding 2d incompressible Navier Stokes Simon Main CFD Forum 22 December 1, 2020 04:01
Help with coding James Main CFD Forum 2 May 18, 2005 05:12
Coding begineer of cfd Main CFD Forum 1 July 21, 2004 05:11
Ground coding enquiry Wenqing Zhang Phoenics 2 August 12, 2002 11:56
User coding on NT w2k Philip Jones Siemens 0 November 26, 2001 03:43


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