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

How can I fix a local coordinate system to the inlet

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 4, 2014, 11:07
Default How can I fix a local coordinate system to the inlet
  #1
New Member
 
Join Date: Mar 2014
Location: Switzerland
Posts: 10
Rep Power: 12
phys-zephyr is on a distinguished road
Send a message via Skype™ to phys-zephyr
Dear all,

I am working with a time- and spatially dependent velocity inlet profile together with a time-dependent geometry. The velocity profile is defined in a local coordinate system which lies on the inlet boundary surface. The time-dependent geometry is realized with the morphing feature. So far, everything works fine.
I just have the problem, that as my geometry moves and deforms in time, the inlet part also moves but the local inlet coordinate system stays at its origin. As a consequence, the velocity profile does not stay at the inlet boundary and therefore after a certain time, no velocity is defined at the inlet anymore.
Is there a way to attach the local coordinate system to the inlet surface in a way that it will move together with the surface instead of staying at its origin? Did anyone ever found a way to solve such an issue?
A possible solution would be to morph the geometry in a way that the inlet always stays at its position and only the rest of the geometry moves. But this unfortunately can not be easily realized, as I only have the displacement for the surface and not the inlet...

Thanks for any suggestions/comments in advance

Cheers
phys-zephyr is offline   Reply With Quote

Old   May 6, 2014, 10:31
Default
  #2
Senior Member
 
Join Date: Nov 2010
Location: USA
Posts: 1,232
Rep Power: 25
me3840 is on a distinguished road
Is the inlet moving physical? Can you change your BCs to a location such that they don't move?
me3840 is offline   Reply With Quote

Old   May 7, 2014, 07:41
Default
  #3
Senior Member
 
Ping
Join Date: Mar 2009
Posts: 556
Rep Power: 20
ping is on a distinguished road
you can define point probes and enable the follow motion property so that they move with your mesh since they will follow any mesh motion but be wary of remeshing since the cell the points are locked to will disappear

so if you define some near your inlet boundary you will have some useful values like normal or corner locations using a few reports of position of the points

then this information can be used in a macro which runs the case and every few time steps or even every time step update the coordinate system values - might need to do a bit of maths getting there like cross products but this is easy in a macro
ping is offline   Reply With Quote

Old   May 8, 2014, 06:46
Default
  #4
Senior Member
 
Ping
Join Date: Mar 2009
Posts: 556
Rep Power: 20
ping is on a distinguished road
a maybe better idea is to isolate one central cell face on your inlet boundary as a separate boundary but with the same settings as the the rest of the boundary

then do reports on just that boundary for position and normal and use this then is a macro to alter the coordinate system properties

and thinking about it some more if the boundary is planar the same could be done on the whole boundary depending on the report you choose for getting the position eg area weighted average position maybe
ping is offline   Reply With Quote

Reply

Tags
coordinate system, local coordinate system, morphing, velocity inlet


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
Micro Scale Pore, icoFoam gooya_kabir OpenFOAM Running, Solving & CFD 2 November 2, 2013 14:58
[ICEM] Local coordinate system and Standard shapes Lance ANSYS Meshing & Geometry 3 May 21, 2013 13:27
Setting the coordinate system for an arbitrary probe rks171 STAR-CCM+ 0 January 3, 2012 14:11
local coordinate system for porousZone Nico A. OpenFOAM Programming & Development 0 November 15, 2011 05:32
Defining local coordinate system bastil OpenFOAM Pre-Processing 11 August 8, 2011 09:26


All times are GMT -4. The time now is 23:45.