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

velocity on the boundary while adding a source term

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 28, 2021, 17:02
Default velocity on the boundary while adding a source term
  #1
New Member
 
Sicheng Sun
Join Date: Jun 2016
Posts: 9
Rep Power: 10
ssc0109 is on a distinguished road
Hello All,
I just recently found some issues while using openFOAM.
Here is the test example: a flow through a 2D pipe

I just modified the simplefoam with a source term S added to the UEqn.H
where S is a volume vector field which equations 10 in the y direction (and 0 in others).

Now I check the velocity and pressure field over the white arrow in the figure


For the pressure, on the top and bottom wall, I used 0 gradient bc,
but the pressure gradient is not 0


for the velocity in y direction, you can see there is a oscillation.


well, since I need the gradient of the velocity on the wall, this gives me trouble.

Any idea how to make the velocity more smoother?
Attached Images
File Type: png f1.PNG (12.1 KB, 4 views)
File Type: png f2.PNG (10.3 KB, 5 views)
File Type: png f3.PNG (55.9 KB, 4 views)
File Type: png f4.PNG (46.9 KB, 4 views)
ssc0109 is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Wind turbine simulation Saturn CFX 60 July 17, 2024 05:45
[Other] Adding solvers from DensityBasedTurbo to foam-extend 3.0 Seroga OpenFOAM Community Contributions 9 June 12, 2015 17:18
Error finding variable "THERMX" sunilpatil CFX 8 April 26, 2013 07:00
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51
Convective Heat Transfer - Heat Exchanger Mark CFX 6 November 15, 2004 15:55


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