Is it possible to use fsiFoam in parallel?
Hello
Is it possible to use fsiFoam in parallel? I tried to do this in base case: beamInCrossFlow but it failed. What modification did I do in case? I modified Allrun file like this: Code:
#!/bin/sh numberOfSubdomains 2 n (2 1 1); Then I run this case in standard way: Code:
sed -i s/tcsh/sh/g *Links Code:
/*---------------------------------------------------------------------------*\ Code:
./Allrun: 55: ./Allrun: makeLinks: not found I'm still a new Linux user so I suppose that I made a mistake somewhere so thank you in advance for you help. |
did you find any solution.
I am also facing similar trouble. |
Unfortunately I didn't find any information how to use fsiFoam in parallel :(
Probably it is necessary to modify the source code or wait for new version |
Hi Wojciech, I am also facing the same problem too...Just wandering do you have any solutions now?
|
For anyone still having this problem, there is an example of parallel runs in the tutorial examples, fsiFoam/beamInCrossFlow. in foam-extended 4.0
You need to decompose both the solid and fluid domains Code:
runApplication -l log.blockMesh.solid blockMesh -case ../solid and make sure that you use Code:
./makeLinks fluid solid Code:
./makeSerialLinks fluid solid Code:
Cannot find file "points" in directory "constant/solid/polyMesh". |
Please need urgent help
I am trying to solve FSI-foam in Parallel. I have done:
1) decomposePar for fluid and solid. (two subdomains each by scotch Method) 2) ./makeLinks fluid and solid 3) updated ./Allrun to ./AllrunPar using the tutorial fsiFoam/beamInCrossFlow. But the case doesn't run log.fsiFoam : HTML Code:
/*---------------------------------------------------------------------------*\ |
Hello Guys,
Thanks for posting to this forum. Yes it can be run. 0) After blockMesh and setToZones command, run decomposePar separately from inside fluid/ and solid/ 1) make a separate .sh file in fluid/ Eg: linkParallel.sh 2) Paste this inside it for proc in processor0 processor1 processor2 .... processorN do echo $proc cd $proc cd 0 ln -s ../../../$2/$proc/0 solid cd ../constant ln -s ../../../$2/$proc/constant solid cd ../.. done 3) If your makeSerialLinks.sh is one directory higher. Do >> cd .. >> ./makeSerialLinks.sh fluid solid >> cd fluid/ 4) Then execute the following >> ./linkParallel.sh fluid solid" This should create the links for individual processor domains. 5) Execute parallel run >> mpirun -np <num_sub_domains> fsiFoam -parallel I tested this myself. Hope this works for you too. Please let me know! Cheers :-) |
Please need urgent help
Quote:
Can you please share your decomposeParDict file for solid and fluid (urgent requirement). and regarding the file "makeLinks" there is some syntax error in the code. I have corrected it makeLinks previously at line 20 Code:
foreach proc(processor*) Code:
for proc in processor* |
All times are GMT -4. The time now is 23:43. |