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

Parabolic inlet velocity profile

Register Blogs Community New Posts Updated Threads Search

Like Tree8Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 8, 2010, 07:29
Default Parabolic inlet velocity profile
  #141
ata
Senior Member
 
ata's Avatar
 
ata kamyabi
Join Date: Aug 2009
Location: Kerman
Posts: 323
Rep Power: 18
ata is on a distinguished road
Hi
I think you can use groovy boundary condition and transform cylindrical cordinate to cartesian.
Good luck

Ata
ata is offline   Reply With Quote

Old   August 9, 2010, 07:08
Default
  #142
Senior Member
 
Join Date: Dec 2009
Posts: 112
Rep Power: 16
heavy_user is on a distinguished road
Quote:
Originally Posted by pradeeppandeygbpec View Post
hello...all..
i need to prescribe parabolic velocity profile at inlet to a 3-D circular pipe . The pipe is along the x-Axis...ie. x-axis as its centerline.
I know the parabolic velocity profile for cylindrical coordinates system but how to implement the same in Cartesian coordinates....i need "u" as a function of x,y,z at inlet.
plz help me out...
Hi There,

i postet a while ago(further up somewhere) a "tool" that should be able to do that.
Just download and insert your equation...hope it works..

regards
heavy_user is offline   Reply With Quote

Old   January 21, 2011, 15:08
Default setParabolicInlet.C
  #143
Member
 
Santiago
Join Date: Dec 2009
Posts: 85
Rep Power: 16
gascortado is on a distinguished road
Hi. Does anyone have setParabolicInlet.C file previously posted? It is not available any more. If anyone can email it to gascortado@gmail.com I will greately appreciate it. Thanks
gascortado is offline   Reply With Quote

Old   January 22, 2011, 15:01
Default
  #144
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
Hi

You would be better off considering the tool swak4foam: http://openfoamwiki.net/index.php/Contrib/swak4Foam

Have a nice weekend,

Niels
ngj is offline   Reply With Quote

Old   May 2, 2011, 05:44
Default information in parabolic inlet
  #145
New Member
 
bamba
Join Date: Apr 2011
Posts: 4
Rep Power: 15
kbambas is on a distinguished road
Good morning evryone!
I 'm new in OpenFoam ,i want set parabolic inlet.I use the version 1.7.0. my geometry is a canal with attach in a tab.I have read in forom but i don't understand.
Please some help me to explain the procedure.
I try to english but my language is french.
kbambas is offline   Reply With Quote

Old   August 25, 2011, 16:38
Default Hi
  #146
Member
 
s.rasoul_varedi
Join Date: Feb 2010
Posts: 82
Rep Power: 15
desert_1250 is an unknown quantity at this point
Send a message via Yahoo to desert_1250
Hi all, can every one tell me how to define U0=1-exp(-y^2) profile at the inlet BCs?


_____
Rasoul
desert_1250 is offline   Reply With Quote

Old   August 25, 2011, 18:31
Default
  #147
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by desert_1250 View Post
Hi all, can every one tell me how to define U0=1-exp(-y^2) profile at the inlet BCs?
If you like C++-programming you can do it with codedFixedValue (only in 2.0). There was a discussion on that in the forum today

Or you can do it with groovyBC (now part of the swak4Foam-package). You find info about that either inthe Forum or on the Wiki
gschaider is offline   Reply With Quote

Old   August 26, 2011, 03:09
Default
  #148
Member
 
s.rasoul_varedi
Join Date: Feb 2010
Posts: 82
Rep Power: 15
desert_1250 is an unknown quantity at this point
Send a message via Yahoo to desert_1250
Quote:
Originally Posted by gschaider View Post
If you like C++-programming you can do it with codedFixedValue (only in 2.0). There was a discussion on that in the forum today

Or you can do it with groovyBC (now part of the swak4Foam-package). You find info about that either inthe Forum or on the Wiki

tanx for your reply, i have not any information about swak4Foam and not have enough time to study it, would you tell me the simplest way to set this BCs at the inlet? (i used OF.1.5-dev)

________
Rasoul
desert_1250 is offline   Reply With Quote

Old   August 26, 2011, 05:24
Default
  #149
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by desert_1250 View Post
tanx for your reply, i have not any information about swak4Foam and not have enough time to study it, would you tell me the simplest way to set this BCs at the inlet? (i used OF.1.5-dev)

________
Rasoul
Unless you know the OpenFOAM-API by heart and program two boundary conditions every day (before breakfast) in my opinion groovyBC is the fastest way to get what you want (BTW: for your OF version you'll have to use "old school" groovyBC. Advantage: compilation is faster)

As you're very short on time: http://tinyurl.com/3fklrwd
jferrari likes this.
gschaider is offline   Reply With Quote

Old   August 26, 2011, 13:20
Default
  #150
Member
 
s.rasoul_varedi
Join Date: Feb 2010
Posts: 82
Rep Power: 15
desert_1250 is an unknown quantity at this point
Send a message via Yahoo to desert_1250
Quote:
Originally Posted by gschaider View Post
Unless you know the OpenFOAM-API by heart and program two boundary conditions every day (before breakfast) in my opinion groovyBC is the fastest way to get what you want (BTW: for your OF version you'll have to use "old school" groovyBC. Advantage: compilation is faster)

As you're very short on time: http://tinyurl.com/3fklrwd

i successed to set the Bcs that i mentioned in the last posts by using nonuniform BCs. now i wanna to add osscillation to the inlet after reaching to the steady state. i know how to use oscillating bc, but dont know how to set it be continued from previous issue!!!??? on the other hand i wanna set unsteady BCs so that after a special time that the problem reached to the steady state, apply oscillation at the inlet. whoud you tell me how do it?? tanx

__________
Rasoul
desert_1250 is offline   Reply With Quote

Old   August 27, 2011, 04:25
Default
  #151
Member
 
s.rasoul_varedi
Join Date: Feb 2010
Posts: 82
Rep Power: 15
desert_1250 is an unknown quantity at this point
Send a message via Yahoo to desert_1250
can every one tell me how to exert (1-exp(-y^2)+0.5Cos2t) profile at the inlet BCs by groovy BCs?? i did not find any manual for groovyBC so that help me do it, i am very glad if intruduce me any documention a bout it.

_____
Rasoul
desert_1250 is offline   Reply With Quote

Old   August 27, 2011, 12:14
Default
  #152
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by desert_1250 View Post
can every one tell me how to exert (1-exp(-y^2)+0.5Cos2t) profile at the inlet BCs by groovy BCs?? i did not find any manual for groovyBC so that help me do it, i am very glad if intruduce me any documention a bout it.

_____
Rasoul
You asked the same question in three threads in under an hour. Rule of thumb: usually this makes it LESS likely that anyone cares to answer. See also http://openfoamwiki.net/index.php/Ho..._Message_Board
(especially points 5&7)
gschaider is offline   Reply With Quote

Old   August 27, 2011, 14:10
Default
  #153
Member
 
s.rasoul_varedi
Join Date: Feb 2010
Posts: 82
Rep Power: 15
desert_1250 is an unknown quantity at this point
Send a message via Yahoo to desert_1250
tnx for your attention, you are right!!!
I've done my work with a combination of two other boundary conditions, without use groovyBC )
desert_1250 is offline   Reply With Quote

Old   August 27, 2011, 23:13
Default
  #154
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36
alberto will become famous soon enoughalberto will become famous soon enough
Ehhh...there are many examples on the download page of GroovyBC, so it's really a question of *reading* before asking.
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541)
OpenQBMM - An open-source implementation of quadrature-based moment methods.

To obtain more accurate answers, please specify the version of OpenFOAM you are using.
alberto is offline   Reply With Quote

Old   August 28, 2011, 03:11
Default
  #155
Member
 
s.rasoul_varedi
Join Date: Feb 2010
Posts: 82
Rep Power: 15
desert_1250 is an unknown quantity at this point
Send a message via Yahoo to desert_1250
Quote:
Originally Posted by alberto View Post
Ehhh...there are many examples on the download page of GroovyBC, so it's really a question of *reading* before asking.
you are right too someone else no idea ...

_______
Rasoul
desert_1250 is offline   Reply With Quote

Old   March 22, 2013, 11:00
Default
  #156
Senior Member
 
starter
Join Date: Sep 2012
Posts: 125
Rep Power: 16
sihaqqi is on a distinguished road
Hello Håkan

I am going through your tutorial. I am using OpenFoam 2.1. I am a beginner and freshly started learning openFoam. I cannot find parabolicvelocity folder and relevant files in the path.
parabolicVelocity/parabolicVelocityFvPatchVectorField.C
parabolicVelocity/parabolicVelocityFvPatchVectorField.H

Can you please send them at sihaqqi@gmail.com. I shall be very grateful. I have tried to find them on internet but every link is useless.

Thanks and Regards
sihaqqi is offline   Reply With Quote

Old   January 2, 2014, 19:17
Default
  #157
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quote:
Originally Posted by sihaqqi View Post
I am going through your tutorial. I am using OpenFoam 2.1. I am a beginner and freshly started learning openFoam. I cannot find parabolicvelocity folder and relevant files in the path.
parabolicVelocity/parabolicVelocityFvPatchVectorField.C
parabolicVelocity/parabolicVelocityFvPatchVectorField.H
FYI: The way to get those files and build them (for any OpenFOAM version) is fully explained here: http://www.cfd-online.com/Forums/ope...tml#post446451 post #10
wyldckat is offline   Reply With Quote

Old   February 6, 2020, 06:13
Default Regarding parabolic velocity profile at inlet
  #158
New Member
 
SHIVA
Join Date: Feb 2020
Posts: 1
Rep Power: 0
shivab is on a distinguished road
Hello!

I am trying to give a parabolic velocity profile at the inlet.
I got the default code from Ansys fluent manual, how can I adjust it such as I get a particular velocity at inlet. Initially, I have taken up the code and interpreted and during initialization, I gave the velocity required.

Here is the code I used and any suggestions regarding the improvement of the code to get a required velocity?:

#include "udf.h"
DEFINE_PROFILE(x_velocity,thread,index)
{
real x[ND_ND];
real y;
face_t f;
begin_f_loop(f,thread)
{
F_CENTROID(x,f,thread);
y = x[1];
F_PROFILE(f,thread,index) = 20. - y*y/(.0745*.0745)*20.;
}
end_f_loop(f,thread)
}

Regards,
Shiva
shivab is offline   Reply With Quote

Reply


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
UDF Unsteady velocity parabolic profile Rashad FLUENT 3 October 1, 2018 16:27
2D air parabolic velocity profile ilker FLUENT 2 November 12, 2008 09:43
parabolic velocity profile? bssdyl FLUENT 4 March 22, 2006 12:32
problem in 3d parabolic velocity profile Lokesh FLUENT 8 August 11, 2005 06:36
Parabolic temperature Inlet Profile in a tube majestywzh FLUENT 0 April 9, 2003 07:37


All times are GMT -4. The time now is 06:56.