CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

A new boundary f(x,y) (x,y is coordinate of mesh)

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 14, 2014, 08:32
Default A new boundary f(x,y) (x,y is coordinate of mesh)
  #1
New Member
 
Jarvis
Join Date: Jun 2013
Posts: 14
Rep Power: 12
nbyjn is on a distinguished road
Hello foamers,
I want to set a new boundary, which moves based on a function f(x,y) - x,y is the coordinate of this point in mesh. I saw the boundary oscillatingDisplacement, but I'm not sure if this boundary can give different displacement on different points. So here's my two questions:

1. In a boundary, how to read the coordinate (x,y) of mesh? Which function should be used?
2. Which boundary can set different displacement on different points?

Thank you!
nbyjn 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
[snappyHexMesh] Add Mesh Layers doesnt work on the whole surface Kryo OpenFOAM Meshing & Mesh Conversion 13 February 17, 2022 07:34
how to set periodic boundary conditions Ganesh FLUENT 15 November 18, 2020 06:09
Domain Imbalance HMR CFX 5 October 10, 2016 05:57
Mesh motion with Translation & Rotation Doginal CFX 2 January 12, 2014 06:21
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 11:55


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