|
[Sponsors] |
Manupulating the values of field variables in adjacent to cetain cell |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 18, 2017, 00:36 |
Manupulating the values of field variables in adjacent to cetain cell
|
#1 |
Member
Upuli
Join Date: Feb 2016
Posts: 68
Rep Power: 10 |
Dear members
I want manipulate the field variable U(velocity) of the North and south cells adjacent to cell[I]. How can I do that ? There are ways to calculate the all cells(North,South,East and West) adjacent to cell[I]. But how can I calculate value only in North and South cells in OpenFOAM. Thanks Upuli |
|
July 18, 2017, 08:47 |
|
#2 |
Senior Member
Fumiya Nozaki
Join Date: Jun 2010
Location: Yokohama, Japan
Posts: 266
Blog Entries: 1
Rep Power: 18 |
I think there is no universal method but you can do by comparing the coordinates of the adjacent cell centers.
Best regards, Fumiya
__________________
[Personal]
|
|
July 24, 2017, 00:59 |
|
#3 |
Member
Upuli
Join Date: Feb 2016
Posts: 68
Rep Power: 10 |
Dear Fumiya
I am not familiar with how to write the code for that.Can you please explain or direct me to some place where I can find the instructions to write the code for my purpose. Thanking you |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to use "translation" in solidBodyMotionFunction in OpenFOAM | rupesh_w | OpenFOAM Running, Solving & CFD | 5 | August 16, 2016 04:27 |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 06:20 |
FvMatrix coefficients | shrina | OpenFOAM Running, Solving & CFD | 10 | October 3, 2013 14:38 |
How to Reference an Adjacent Cell in a UDF ? | jeff8541 | FLUENT | 0 | March 8, 2011 10:33 |
Problem with rhoSimpleFoam | matteo_gautero | OpenFOAM Running, Solving & CFD | 0 | February 28, 2008 06:51 |