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 12 of 12
Search took 0.00 seconds.
Search: Posts Made By: su_junwei
Forum: OpenFOAM April 24, 2010, 04:19
Replies: 31
Views: 9,758
Posted By su_junwei
1) if gradU has 1301{(0 0 0 0 0 0 0 0 0 0)} at...

1) if gradU has 1301{(0 0 0 0 0 0 0 0 0 0)} at each time step, it means all the gradU stored in the particles are zero?
Yes
2) transform can be used in rotation. T is rotational tensor.

Junwei
Forum: OpenFOAM April 21, 2010, 05:02
Replies: 31
Views: 9,758
Posted By su_junwei
Hi Jie 1301{(0 0 0 0 0 0 0 0 0 0)} means...

Hi Jie
1301{(0 0 0 0 0 0 0 0 0 0)} means there are 1301 particles with the same value. tensor::zero. The possible reason is that the gradU of the particle location was not updated. The...
Forum: OpenFOAM April 20, 2010, 23:05
Replies: 31
Views: 9,758
Posted By su_junwei
Hi Jie I cannot quite following you. Do you...

Hi Jie
I cannot quite following you. Do you want to store the gradU at particle centers into the Lagrangian folder or gradU has been stored but the data was not correct.
If they was not...
Forum: OpenFOAM April 20, 2010, 12:00
Replies: 31
Views: 9,758
Posted By su_junwei
Hi Vaidya The meaning of these keywords...

Hi Vaidya
The meaning of these keywords may be

parcelsPerSecond: The total number of particles should be injected a second after start starttime of Injection(SOI)

massTotal: the...
Forum: OpenFOAM April 20, 2010, 11:33
Replies: 31
Views: 9,758
Posted By su_junwei
Perhaps. you forgot to update gradU every time...

Perhaps. you forgot to update gradU every time step. Just recalculate gradU every time step. add the following line to time loop
gradU=fvc::grad(U) ;

regards,Junwei
Forum: OpenFOAM April 9, 2010, 23:49
Replies: 31
Views: 9,758
Posted By su_junwei
Hi Jie You don't have to declare the gradU...

Hi Jie
You don't have to declare the gradU in createField.H. You just get the value where you use it. In your case, declare it before the interpolator for instance like this

volTensorField...
Forum: OpenFOAM April 7, 2010, 01:10
Replies: 31
Views: 9,758
Posted By su_junwei
exactly Junwei

exactly

Junwei
Forum: OpenFOAM April 7, 2010, 00:29
Replies: 31
Views: 9,758
Posted By su_junwei
Hi Jie you can do it like the following...

Hi Jie

you can do it like the following code (you don't have to initialize it using the file)

volTensorField GradU
(
IOobject
(
"GardU",
...
Forum: OpenFOAM April 6, 2010, 22:48
Replies: 31
Views: 9,758
Posted By su_junwei
Hi Jie What force do you want to calculate...

Hi Jie
What force do you want to calculate for a particle, I haven't encountered a force for granular flow. Are you trying to implement a meshless method?
I usually make a conversion from...
Forum: OpenFOAM April 6, 2010, 09:31
Replies: 31
Views: 9,758
Posted By su_junwei
Hi Vaidya I don't think there is a tool...

Hi Vaidya

I don't think there is a tool in OpenFOAM which can sample particles on a arbitrary surface in the solution domain. I didn't find one. Actually, at a certain time point, there may be...
Forum: OpenFOAM April 1, 2010, 23:05
Replies: 31
Views: 9,758
Posted By su_junwei
Oh sorry. I am confused last night....

Oh sorry.

I am confused last night. Just use fvc::grad(U_) and make an interpolation on the particle location like this

volTensorField gradU=fvc::grad(U_);
autoPtr<interpolation<tensor>...
Forum: OpenFOAM April 1, 2010, 14:30
Replies: 31
Views: 9,758
Posted By su_junwei
Hi jie It seems not. And it seems that the...

Hi jie
It seems not. And it seems that the gradient is only reasonable for a Euler field. A possible way is calculating the gradient from an Eulerian field converted from particle lagrangian...
Showing results 1 to 12 of 12

 
Forum Jump

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