CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums

Search Results

Register Blogs Community New Posts Updated Threads Search

Showing results 1 to 5 of 5
Search took 0.00 seconds.
Search: Posts Made By: farzadmech
Forum: OpenFOAM Programming & Development April 18, 2021, 13:11
Replies: 6
Views: 1,160
Posted By farzadmech
New problem after integration

I am doing a lagrangian particel tracking using DPMFoam, and inside lagrangian part(src/lagrangian/intermediate/parcels/Templates/KinematicParcel), you need to add


#include "fvCFD.H"

in order...
Forum: OpenFOAM Programming & Development April 18, 2021, 12:01
Replies: 6
Views: 1,160
Posted By farzadmech
Thanks

Yes, Thanks a lot Tobias Holzmann. I am still working on other parts of domainIntegration and if I find something new, I will write it down in this post.
Forum: OpenFOAM Programming & Development April 17, 2021, 18:26
Replies: 6
Views: 1,160
Posted By farzadmech
Answer!!!

Ok, instead of writing

fvc::domainIntegrate(p)


it must be written;

fvc::domainIntegrate(p).value();
Forum: OpenFOAM Programming & Development April 17, 2021, 17:50
Replies: 6
Views: 1,160
Posted By farzadmech
Extra explanation

For clarification, I used pressure to integrate which is a volScalarField and it gives me error;


In file included from DPMFoamFarzadd.C:216:0:
YO2cEqnYN2cEqn.H: In function ‘int main(int,...
Forum: OpenFOAM Programming & Development April 17, 2021, 11:39
Replies: 6
Views: 1,160
Posted By farzadmech
How to integrate a parameter in whole domain(domainIntegrate(alfa))

Dear foamers
I want to use domainIntegrate(alfa) to integrate a parameter in all my domain. I checked the main code for domainIntegrate(alfa) in below address;
...
Showing results 1 to 5 of 5

 
Forum Jump

All times are GMT -4. The time now is 02:40.