|
[Sponsors] |
February 13, 2018, 10:02 |
Compute the gradient for use in BCs
|
#1 |
New Member
Join Date: Feb 2018
Posts: 2
Rep Power: 0 |
Hello,
I'm fairly new to OpenFOAM and would like to know if it possible to use the gradient operator to define a new boundary condition for velocity. When I use Code:
fvc::grad(U1) Code:
'grad' is not a member of 'Foam::fvc' I've taken the already existing movingWallVelocity BC and modified it to get the new BC. I'm fairly good at C++ but still not familiar enough with OpenFOAM's structure to figure this out. Any help or hint in the right direction would be really appreciated. |
|
Tags |
boundary condition, openfoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Temperature gradient for the internal Field. | Philipp Dietrich | OpenFOAM Programming & Development | 0 | July 2, 2014 04:15 |
WSS and normal velocity gradient for the slanted pipe | wanna88 | FLUENT | 2 | October 1, 2012 23:34 |
vortex cause pressure gradient or pressure gradient induce vortex? | fruitkiwi | Main CFD Forum | 4 | June 12, 2012 02:12 |
How to compute gradient for non-orthogonal grids? | Paul Hsieh | Main CFD Forum | 3 | November 11, 2003 05:52 |
how to compute the gradient of a function | zhanglei | Main CFD Forum | 2 | January 10, 2001 09:11 |