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

I can't understand this comment in source code

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 7, 2015, 07:12
Default I can't understand this comment in source code
  #1
New Member
 
xue
Join Date: Mar 2015
Posts: 5
Rep Power: 11
d849c8 is on a distinguished road
Hello everyone,
I want to use DPMFoam and I investigated how a particle rebounds when encountering walls:
U = U(particle) - U(wall)
U -=(1+e)*(U&nw)

However, I 'm confused about U(wall), U(wall) is from KinematicCloud.C, line 726, the comment there says "Only wall patches may have a non-zero wall velocity from the velocity field when the mesh is not moving."

What does the comment mean?If the bottom of a pipe is wall, U(wall) shall be the velocity of fluid at bottom, though the bottom is not moving!I'm quite confused.

Last edited by d849c8; July 7, 2015 at 21:28.
d849c8 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
GPU Linear Solvers for OpenFOAM gocarts OpenFOAM Announcements from Other Sources 37 August 17, 2022 14:22
[Other] Adding solvers from DensityBasedTurbo to foam-extend 3.0 Seroga OpenFOAM Community Contributions 9 June 12, 2015 17:18
OpenFOAM without MPI kokizzu OpenFOAM Installation 4 May 26, 2014 09:17
"parabolicVelocity" in OpenFoam 2.1.0 ? sawyer86 OpenFOAM Running, Solving & CFD 21 February 7, 2012 11:44
pisoFoam compiling error with OF 1.7.1 on MAC OSX Greg Givogue OpenFOAM Programming & Development 3 March 4, 2011 17:18


All times are GMT -4. The time now is 17:59.