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 8 of 8
Search took 0.00 seconds.
Search: Posts Made By: mathslw
Forum: OpenFOAM Running, Solving & CFD September 10, 2012, 13:07
Replies: 82
Views: 19,010
Posted By mathslw
Hi Philip, You are right, I tried to change...

Hi Philip,

You are right, I tried to change the "==" to "=" inside the forAll loop and it works.
In your code, you write "U.boundaryField()[patchID][i] == newPatchValues", is it...
Forum: OpenFOAM Running, Solving & CFD September 9, 2012, 17:19
Replies: 82
Views: 19,010
Posted By mathslw
Hi Philip, Sorry to bother u again. If I...

Hi Philip,

Sorry to bother u again.
If I use

U.boundaryField()[patchID] == vector(0.8, 0, 0);

I could update the boundary condition;
But if I use
Forum: OpenFOAM Running, Solving & CFD August 30, 2012, 12:13
Replies: 82
Views: 19,010
Posted By mathslw
Hi Philip, As far as I know, the...

Hi Philip,

As far as I know, the U.boundaryField()[patchID].snGrad()[facei] returns the patch-normal gradient. How to obtain the velocity gradient on the patch cell, which is a tensor. Can I...
Forum: OpenFOAM Running, Solving & CFD August 30, 2012, 12:01
Replies: 82
Views: 19,010
Posted By mathslw
Hi Philip, Thanks for your reply! I will...

Hi Philip,

Thanks for your reply!
I will try it in my program to see how it is works!

Best Regards!

Wei
Forum: OpenFOAM Running, Solving & CFD August 29, 2012, 14:01
Replies: 82
Views: 19,010
Posted By mathslw
Hi Philip, Your suggestion is very helpful!...

Hi Philip,

Your suggestion is very helpful!

If I use U.boundaryField()[patchID] == vector(1,2,3) , the boundary would be uniform.
Can I use a loop to set non-uniform boundary conditions?...
Forum: OpenFOAM Running, Solving & CFD August 29, 2012, 13:08
Replies: 82
Views: 19,010
Posted By mathslw
Hi Philip, What should I do if I used the...

Hi Philip,

What should I do if I used the fixedValue and want to update it?
Thanks!

Wei
Forum: OpenFOAM Running, Solving & CFD August 29, 2012, 12:30
Replies: 82
Views: 19,010
Posted By mathslw
Hi Dave, I am using the steady state...

Hi Dave,

I am using the steady state solver, so I want to update the valure after each iteration.
Do you know about that?

Thanks!

Wei
Forum: OpenFOAM Running, Solving & CFD August 29, 2012, 12:21
Replies: 82
Views: 19,010
Posted By mathslw
Hi Tom, Do you succeed in updating the...

Hi Tom,

Do you succeed in updating the boundary in the loop?
I want to update the boundary condition after each iteration for steady state calculation.
Thanks!

Wei
Showing results 1 to 8 of 8

 
Forum Jump

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