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 6 of 6
Search took 0.00 seconds.
Search: Posts Made By: Joachim
Forum: OpenFOAM February 5, 2018, 07:46
Replies: 17
Views: 7,085
Posted By Joachim
Hi, If you're interested, the code has...

Hi,

If you're interested, the code has already been shared earlier in this thread. Feel free to email me if you want additional files (initialization code, test case, etc.). These are too large...
Forum: OpenFOAM August 26, 2013, 20:13
Replies: 17
Views: 7,085
Posted By Joachim
Yep, the "k-loop" works just fine on a single...

Yep, the "k-loop" works just fine on a single processor. The problem only appears when using mpirun.
Forum: OpenFOAM August 26, 2013, 14:58
Replies: 17
Views: 7,085
Posted By Joachim
While debugging, I isolated the lines that were...

While debugging, I isolated the lines that were generating the error. The problem basically came from all my loops.

Changing

label k;
for (k = 0; k < N; k ++)
{
lala[k] = ...;
etc
}
Forum: OpenFOAM August 26, 2013, 14:15
Replies: 17
Views: 7,085
Posted By Joachim
problem solved. It seems that you cannot use any...

problem solved. It seems that you cannot use any loop other than forAll in your code, if you want to parallelize it...

for example, I had something like

label k;
for (k = 0; k < N; k ++)
{
...
Forum: OpenFOAM August 21, 2013, 13:38
Replies: 17
Views: 7,085
Posted By Joachim
Hum, your domain is a circular cylinder? Then...

Hum, your domain is a circular cylinder? Then Lund's method will not work. You can only use it on flat plates or similar geometries. There might be some analogous recycling methods though for your...
Forum: OpenFOAM August 20, 2013, 12:20
Replies: 17
Views: 7,085
Posted By Joachim
If you want, I just finished implementing Lund's...

If you want, I just finished implementing Lund's recycling method in OpenFOAM (thanks to Perry Johnson). It seems to work just fine on a single processor, but I still can't run it in parallel. As...
Showing results 1 to 6 of 6

 
Forum Jump

All times are GMT -4. The time now is 08:22.