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

Search Results

Register Blogs Members List Search Today's Posts Mark Forums Read

Showing results 1 to 5 of 5
Search took 0.00 seconds.
Search: Posts Made By: yanxiang
Forum: OpenFOAM Post-Processing December 14, 2012, 17:39
Replies: 10
Views: 9,155
Posted By yanxiang
Thanks for pointing this out. I wasn't aware of...

Thanks for pointing this out. I wasn't aware of it and indeed I was looking for something like this. Anyhow, it worked like a charm. Nevertheless, I still couldn't understand why the loop doesn't...
Forum: OpenFOAM Post-Processing December 13, 2012, 16:25
Replies: 10
Views: 9,155
Posted By yanxiang
Hi Pascal, I tried your suggestions and I...

Hi Pascal,

I tried your suggestions and I also ommented out that line. Nothing really changes. I still got negative values and I think that's the reason why the solution is not stable and blows up...
Forum: OpenFOAM Post-Processing December 13, 2012, 16:02
Replies: 10
Views: 9,155
Posted By yanxiang
Hi Pascal, Basically I am modifying the...

Hi Pascal,

Basically I am modifying the twoPhaseEulerFoam code, adding a couple of lines to the alphaEqn.H. Here is what I have. The above code is at the end. Thanks a lot for your help in advance...
Forum: OpenFOAM Post-Processing December 13, 2012, 15:41
Replies: 10
Views: 9,155
Posted By yanxiang
Thanks, Pascal. Now it looks like I have a...

Thanks, Pascal. Now it looks like I have a different issue. So I have the following code


forAll (beta, celli)
{
if (neg(beta[celli]))
{
...
Forum: OpenFOAM Post-Processing December 13, 2012, 15:14
Replies: 10
Views: 9,155
Posted By yanxiang
Did you get this problem solved? I am having...

Did you get this problem solved? I am having exactly the same issue. The forAll loop does not update the variable at all.
Showing results 1 to 5 of 5

 
Forum Jump

All times are GMT -4. The time now is 20:38.