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

CodedFixedValue, get the velocity components of patch's neighbour cell

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 23, 2023, 06:52
Default CodedFixedValue, get the velocity components of patch's neighbour cell
  #1
New Member
 
Huy Quang Dong
Join Date: Nov 2017
Posts: 19
Rep Power: 9
cunconbkhp is on a distinguished road
Hello everyone!

I'm trying to implement a boundary condition for a surface by using CodesFixedValue.

I have the ground surface, and i want to calculate the velocity for this patch from the velocity and the z coordinate of its neighbour cell.

i have known that we can get the z component of the neighbour cell by :

z(this->patch().Cn().component(vector::Z))

However for the velocity i haven't figured out yet.

Could you please give me a hint?

Thanks,
cunconbkhp is offline   Reply With Quote

Reply

Tags
boundaries condition, codedfixedvalue, neighboring cell


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
Simulation of radial gas turbine, Inlet velocity components dmaz CFX 17 May 19, 2019 10:45
FvMatrix coefficients shrina OpenFOAM Running, Solving & CFD 10 October 3, 2013 15:38
Accessing velocity at the cell center alastormoody11 STAR-CCM+ 0 February 9, 2011 00:12
Warning 097- AB Siemens 6 November 15, 2004 05:41
Terrible Mistake In Fluid Dynamics History Abhi Main CFD Forum 12 July 8, 2002 10:11


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