|
[Sponsors] |
[swak4Foam] funkySetFiekds - linear velocity distribution |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 31, 2014, 05:14 |
funkySetFiekds - linear velocity distribution
|
#1 |
Senior Member
Join Date: Jan 2014
Posts: 179
Rep Power: 12 |
Hi,
I need to set for my case the internal field to a linear Velocity distribution from 0 to 1. How can I apply this with funkySetFields? I am not sure how to formulate the expression itself Thanks for all |
|
January 31, 2014, 06:26 |
|
#2 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
"linear distribution" in what sense (in space?). Write down the equation and you're halfway there (but your question is a bit to vague to properly help you)
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
|
January 31, 2014, 08:29 |
|
#3 |
Senior Member
Join Date: Jan 2014
Posts: 179
Rep Power: 12 |
sorry for lack of information:
I think I am almost there, the vel. distribution should be in space this is my code: Code:
funykSetFields -case . -field U - expression 'pos().z/max(pos().z)*vector(1,0,0)' -time 0 -keepPatches No I get my linear profile. Is there a more elegant way to set up the expression? |
|
January 31, 2014, 19:51 |
|
#4 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||
February 2, 2014, 11:35 |
|
#5 |
Senior Member
Join Date: Jan 2014
Posts: 179
Rep Power: 12 |
Thanks Gschaider,
Thread is closed |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Velocity fluctuation distribution near a wall | Matthieu | FLUENT | 1 | June 3, 2021 10:40 |
Is this velocity distribution around an airfoil plausible? | docinger | OpenFOAM Running, Solving & CFD | 3 | September 21, 2013 16:21 |
velocity distribution in a channel | hydraulics | Main CFD Forum | 0 | December 25, 2012 04:25 |
solution diverges when linear upwind interpolation scheme is used | subash | OpenFOAM | 0 | May 29, 2010 02:23 |
boundary with velocity distribution | cfd123 | FLOW-3D | 3 | February 17, 2010 10:44 |