CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > Siemens > STAR-CCM+

Motion of a Region based on Java Script

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

LinkBack Thread Tools Search this Thread Display Modes
Old   July 15, 2019, 14:33
Default Attach a Region to a Coordinate System for Motion
New Member
Jakob Fischer
Join Date: Nov 2014
Location: Stuttgart, Germany
Posts: 15
Rep Power: 7
JackFischer is on a distinguished road
Hi Folks,

back at it again, I'm facing a problem I really kinda lost my patience on

To my setup: I want to move an overset region along a curve given by a .csv file and to do so I set up a Java script which moves two coordinate systems along said curve. To achieve a certain alignment I created another coordinate system, which points from the first to the second coordinate system, all of them moving together as a consequence.

Now comes the tricky part (and that after dealing with the java script...) I want to move the overset region with the third coordinate system, meaning position and orientation. I was able to attach a plane as a derived part to the moving coordinate system, which works like a charme. But it seems like an impossible task to do so for the region, although I'm sure this has to be possible..

I'd be more than happy to hear your thoughts on this and maybe we can work this one out together. Any questions to my setup are welcome and will be answered asap

Best wishes,

Last edited by JackFischer; July 16, 2019 at 01:31. Reason: Unclear Title
JackFischer is offline   Reply With Quote

Old   July 17, 2019, 07:06
Senior Member
Sebastian Engel
Join Date: Jun 2011
Location: Germany
Posts: 430
Rep Power: 16
bluebase will become famous soon enough
Hi Jakob,

are you aware of the so called user-defined vertex motion?

You can find information in the manual in the branch:
Simulating Physics > Space, Time, and Motion > Modeling Motion > Working with User-Defined Vertex Motion > Setting the Quantity for User-Defined Motion

It allows you to define a motion based on a number of methods, such as coordinate system changes, displacements, or grid velocity.
For example, if you can construct the equation describing your motion (including rotation) your could build a vector user-defined field function of it.
This field function could then directly be used by starccm for the mesh motion.

bluebase is offline   Reply With Quote


coordinate system, java, overset, region

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
sliding mesh problem in CFX Saima CFX 45 September 22, 2015 10:53
Aligning a region with dfbi motion of body without dfbi superposed rotation rockydongre STAR-CCM+ 2 July 21, 2014 01:11
Best way to select all region objects in java showerlin STAR-CCM+ 2 April 10, 2012 08:14
Vertex Based Motion cwang5 OpenFOAM Running, Solving & CFD 2 March 20, 2009 01:17
JAVA based .gif file animator Moritz Main CFD Forum 0 March 20, 2006 10:50

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