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

How to access one of the velocity gradients in KinematicParcel?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 7, 2021, 06:45
Default How to access one of the velocity gradients in KinematicParcel?
  #1
New Member
 
Matthew
Join Date: Aug 2017
Posts: 28
Rep Power: 8
zhangxc0223 is on a distinguished road
I have read the thread, which is pretty good for SolidParticle.C.

Now I would like to access one of the velocity gradients (let's say the component 0 as a scalar) in KinematicParcel.C, and interpolate the value at particle position. I am not sure how and where to exactly implement the modification, as I always encounter an error like:
Code:
Foam::KinematicParcel<ParcelType>::trackingData' does not have any field named 'GradUcInterp_'
     GradUcInterp_
Also, I might pretty new to the library, I am not sure how to modify the constructors in each H file?

It would be great if anyone can give me some hints about it.
zhangxc0223 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
access velocity on xy-line in udf moe Fluent UDF and Scheme Programming 7 June 6, 2023 11:19
Calculating velocity gradients manually without any macros NonStopEagle Fluent UDF and Scheme Programming 0 September 25, 2019 10:29
Access location of max of velocity fanch33 Tecplot 0 January 6, 2019 13:53
access to velocity gradient for Lagrangian particles jiejie OpenFOAM 31 December 2, 2016 04:56
HOW TO ACCESS THE CG VELOCITY (HELP) itoa FLUENT 5 January 17, 2009 04:07


All times are GMT -4. The time now is 12:35.