CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Programming & Development

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

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

LinkBack Thread Tools Display Modes
Old   November 14, 2014, 09:32
Default A new boundary f(x,y) (x,y is coordinate of mesh)
New Member
Join Date: Jun 2013
Posts: 10
Rep Power: 6
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


Thread Tools
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Domain Imbalance HMR CFX 5 October 10, 2016 05:57
how to set periodic boundary conditions Ganesh FLUENT 13 January 22, 2014 05:11
Mesh motion with Translation & Rotation Doginal CFX 2 January 12, 2014 07:21
Add Mesh Layers doesnt work on the whole surface Kryo OpenFOAM Native Meshers: snappyHexMesh and Others 8 September 13, 2012 09:28
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 12:55

All times are GMT -4. The time now is 14:03.