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

How to make a result from matlab as boundary conditions into star ccm+

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 23, 2018, 11:29
Default How to make a result from matlab as boundary conditions into star ccm+
  #1
New Member
 
Songkai Yang
Join Date: Apr 2018
Posts: 22
Rep Power: 8
songkai is on a distinguished road
Hi everyone,

i have a problem now. I made a calculation of the temperature, press and density in cylinder chamber according to crank angle by matlab. now i want to make these results as boundary conditions into star ccm+ in region. How should i do? Thanks everyone!

songkai
songkai is offline   Reply With Quote

Old   May 23, 2018, 14:47
Default
  #2
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,682
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
You have a single temperature, pressure, at each crank angle or you have a field of data at each crank angle? For single quantities, you can save your data as a .csv and import the .csv into Star as a file table. Then you can reference this file table in the boundary condition. But you have to take care of the crank angle somehow. I don't know how you set up your simulation but usually it is a simulation in time so you provide a time column. Is it as simple as converting crank angle into time for your case?
LuckyTran is offline   Reply With Quote

Old   May 23, 2018, 15:13
Default
  #3
New Member
 
Songkai Yang
Join Date: Apr 2018
Posts: 22
Rep Power: 8
songkai is on a distinguished road
Quote:
Originally Posted by LuckyTran View Post
You have a single temperature, pressure, at each crank angle or you have a field of data at each crank angle? For single quantities, you can save your data as a .csv and import the .csv into Star as a file table. Then you can reference this file table in the boundary condition. But you have to take care of the crank angle somehow. I don't know how you set up your simulation but usually it is a simulation in time so you provide a time column. Is it as simple as converting crank angle into time for your case?
Thank u lucky Tran,

i have a field of data, for each angle has a single value. i do not know that is belong to single value or a field. but i did not find how to save as .csv file.

songkai
songkai is offline   Reply With Quote

Old   May 23, 2018, 15:38
Default
  #4
New Member
 
Songkai Yang
Join Date: Apr 2018
Posts: 22
Rep Power: 8
songkai is on a distinguished road
Quote:
Originally Posted by LuckyTran View Post
You have a single temperature, pressure, at each crank angle or you have a field of data at each crank angle? For single quantities, you can save your data as a .csv and import the .csv into Star as a file table. Then you can reference this file table in the boundary condition. But you have to take care of the crank angle somehow. I don't know how you set up your simulation but usually it is a simulation in time so you provide a time column. Is it as simple as converting crank angle into time for your case?
Hi, LT,

i have known how to save as .csv file and next problem is as u said, how to convert crank angle into time? Thank u a lot!

songkai
songkai is offline   Reply With Quote

Old   May 24, 2018, 02:25
Smile
  #5
Senior Member
 
ashokac7's Avatar
 
Ashok Chaudhari
Join Date: Aug 2016
Location: Pune, India
Posts: 260
Rep Power: 10
ashokac7 is on a distinguished road
Send a message via Skype™ to ashokac7
Quote:
Originally Posted by songkai View Post
Hi, LT,

i have known how to save as .csv file and next problem is as u said, how to convert crank angle into time? Thank u a lot!

songkai
You must know the engine RPM. Calculate RPS from that. That many rounds in a second. From 1/RPS, you get the time require for single round. This time is for 360 degree crank angle. calculate time for 1 degree crank angle, use it as a time step.
ashokac7 is offline   Reply With Quote

Old   May 24, 2018, 05:33
Default
  #6
New Member
 
Songkai Yang
Join Date: Apr 2018
Posts: 22
Rep Power: 8
songkai is on a distinguished road
Quote:
Originally Posted by ashokac7 View Post
You must know the engine RPM. Calculate RPS from that. That many rounds in a second. From 1/RPS, you get the time require for single round. This time is for 360 degree crank angle. calculate time for 1 degree crank angle, use it as a time step.
Thanks a lot.
I get it. then i write the converting equation in the description?
songkai 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
Centrifugal fan-reverse flow in outlet lesds to a mass in flow field xiexing CFX 3 March 29, 2017 10:00
Wrong multiphase flow at rotating interface Sanyo CFX 14 February 7, 2017 17:19
Out File does not show Imbalance in % Mmaragann CFX 5 January 20, 2017 10:20
Waterwheel shaped turbine inside a pipe simulation problem mshahed91 CFX 3 January 10, 2015 11:19
RPM in Wind Turbine Pankaj CFX 9 November 23, 2009 04:05


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