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

User code in Star-CCM+

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 10, 2013, 23:29
Default User code in Star-CCM+
  #1
New Member
 
wei
Join Date: Apr 2010
Posts: 6
Rep Power: 16
shellnuts is on a distinguished road
Anybody has experience of using user code capability of Star-CCM+?
Where can I find the complete list of the stored variables of Star-CCM+ that can be used by the user code? The manual only gives a partial list of the stored variable. Where Can I find the full list, and where can I find more examples?

Thanks.
shellnuts is offline   Reply With Quote

Old   October 12, 2013, 16:15
Default
  #2
New Member
 
cfdguy's Avatar
 
Join Date: Mar 2009
Location: Brazil
Posts: 16
Rep Power: 17
cfdguy is on a distinguished road
Hi there,

Why do you need user code? What are you trying to accomplish?
__________________
Cheers,
cfdguy

** Every rose has its thorn **

PS: Please watch this Youtube channel.
cfdguy is offline   Reply With Quote

Old   October 12, 2013, 19:30
Default
  #3
New Member
 
wei
Join Date: Apr 2010
Posts: 6
Rep Power: 16
shellnuts is on a distinguished road
I am doing electrochemical-thermal coupled modeling of Li-ion batteries. I have my own code for solving the electrochemical dynamics. I want to use CCM+ to solve the temperature filed given the heat source generated from my code and then use the temperature to update my electrochemical model. I need a fast implementation because battery simulation is transient; the coupling is needed for each time step. Thanks.


Quote:
Originally Posted by cfdguy View Post
Hi there,

Why do you need user code? What are you trying to accomplish?
shellnuts is offline   Reply With Quote

Old   October 13, 2013, 09:49
Default
  #4
New Member
 
cfdguy's Avatar
 
Join Date: Mar 2009
Location: Brazil
Posts: 16
Rep Power: 17
cfdguy is on a distinguished road
Quote:
Originally Posted by shellnuts View Post
I am doing electrochemical-thermal coupled modeling of Li-ion batteries. I have my own code for solving the electrochemical dynamics. I want to use CCM+ to solve the temperature filed given the heat source generated from my code and then use the temperature to update my electrochemical model. I need a fast implementation because battery simulation is transient; the coupling is needed for each time step. Thanks.
Will the coupling be volume or boundary-wise?

a) if the former, a user code might be needed;
b) if latter, you can do it using JAVA macros.

Anyway, a bird told me they are working in a co-simulation API specific for coupling third party codes. Not sure the release date though.
__________________
Cheers,
cfdguy

** Every rose has its thorn **

PS: Please watch this Youtube channel.
cfdguy is offline   Reply With Quote

Old   October 13, 2013, 10:20
Default
  #5
New Member
 
wei
Join Date: Apr 2010
Posts: 6
Rep Power: 16
shellnuts is on a distinguished road
Thanks for the reply.

I need the volume coupling. I used to do it in STAR-CD using the user code, which is very straight forward to do and efficient.

Quote:
Originally Posted by cfdguy View Post
Will the coupling be volume or boundary-wise?

a) if the former, a user code might be needed;
b) if latter, you can do it using JAVA macros.

Anyway, a bird told me they are working in a co-simulation API specific for coupling third party codes. Not sure the release date though.
shellnuts 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
[Commercial meshers] Using starToFoam clo OpenFOAM Meshing & Mesh Conversion 33 September 26, 2012 05:04
Star CCM + V.3.06 Maicol STAR-CCM+ 5 April 12, 2011 03:27
Ansys CFX or Star CCM plum1 Main CFD Forum 2 March 16, 2011 12:22
Star CCM - Problem with image hardcopy quality James Siemens 2 March 14, 2007 03:36
user friendly cfd code waqar Main CFD Forum 19 August 18, 2000 17:31


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