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

Motion of a Region based on Java Script

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 15, 2019, 14:33
Default Attach a Region to a Coordinate System for Motion
  #1
New Member
 
Jakob Fischer
Join Date: Nov 2014
Location: Stuttgart, Germany
Posts: 15
Rep Power: 11
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,
Jack

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
Default
  #2
Senior Member
 
Sebastian Engel
Join Date: Jun 2011
Location: Germany
Posts: 566
Rep Power: 20
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.

Regards,
Sebastian
bluebase is offline   Reply With Quote

Reply

Tags
coordinate system, java, overset, region


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 46 September 11, 2021 07:38
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 10:00.