CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Community Contributions (https://www.cfd-online.com/Forums/openfoam-community-contributions/)
-   -   [waves2Foam] Difficulties using waveDyMFoam and waveFlumeDyMFoam (https://www.cfd-online.com/Forums/openfoam-community-contributions/205881-difficulties-using-wavedymfoam-waveflumedymfoam.html)

toodles January 8, 2016 15:47

Difficulties using waveDyMFoam and waveFlumeDyMFoam
 
1 Attachment(s)
Hi everyone,

I am trying to couple waves2Foam with interDyMFoam by 'loosely' following the instructions on the wiki. I was able to compile and run a case successfully on another computer but I am trying to repeat the process on a different one. I have waveFoam running successfully, I have made the modifications in order to make the solve waveDyMFoam, however I am running into an error when running wmake. I attached the log file containing the error. Thanks so much for any help that anyone can give.

toodles January 9, 2016 14:24

I figured it out. The problem was in my options file. Thanks!

toodles January 14, 2016 10:44

Hi,
Another question here. I am running the case that was provided on the wiki page for waveFlumeDyMFoam. I am able to run the case with different types of waves and the mesh seems to be moving correctly. However, I keep getting the error in the file attached. For a solitary wave run, the error occurs after the wave has passed the block and hits the relaxtion zone. For a stoke's first wave, the error occurs before the wave even reaches the block. I tried to checkMesh after the run and there are failed mesh checks at the last few time steps. The error I'm getting here is:

Number of edges not aligned with or perpendicular to non-empty directions: 1358


Does anyone have any idea what this might be and how to fix it?

Thanks so much.

toodles January 14, 2016 10:46

1 Attachment(s)
Sorry, here is the output that I meant to attach to the previous post.

ngj January 19, 2016 12:16

Good afternoon all,

@Toodles: This sounds as a problem with the mesh deformation that allows for motions perpendicular to the empty patches. I do not know, which case that you are referring to.

Kind regards,

Niels

toodles January 21, 2016 18:32

1 Attachment(s)
Hi all,

I can't seem to run the dynamic wave flume case. I run waveDyMFoam and everything starts off fine. It runs for quite a while with no visible problems, then all of the sudden throws the error attached. Nothing seems to be diverging or anything, it just randomly stops. I have run checkMesh and all of the meshes are ok. I'm assuming the problem is with the solvers I used in fvsolution, but I can't not figure it out. Any help would be very appreciated; I've been trying to get this working for weeks.

SD@TUB January 24, 2016 08:39

@toodles
Just had a quick view. As you may notice by #3 the error was issued by the AMG solver terminated with fpe. Try another one, see dynamic mesh tutorials.

toodles January 27, 2016 20:56

Thanks for the suggestion. It seems that my error is related to the innerDistance and outerDistance parameters for the sixDoFRigidBodyMotion solver. These are very weird parameters to me as they never seem to do what I want them to. It looks like the cells at some point are getting deformed so small that the Co number diverges. Does anyone have any suggestion on how to properly use this feature. I have tried searching all over and can't seem to find a good explanation.

SD@TUB January 31, 2016 02:28

@toodles
Interesting... What kind of mesh motion is needed for yor case? What OpenFOAM version do you prefer for that?
The extend-project provides a tet-based mesh motion solver that is more robust than all cell-based approaches of the vanilla one.

toodles February 3, 2016 21:21

Quote:

Originally Posted by SD@TUB (Post 583080)
@toodles
Interesting... What kind of mesh motion is needed for yor case? What OpenFOAM version do you prefer for that?
The extend-project provides a tet-based mesh motion solver that is more robust than all cell-based approaches of the vanilla one.

My case involves a simple submerged plate that is free to move in the vertical direction. This seems like it should be very simple and the sixDoFRigidBodyMotion solver seems to be exactly what I need, however I just can not get it to run without crashing. I will upload my case soon; hopefully one of you could give it a shot and see if you can get it to run. I am out of ideas at this point.

Thanks

toodles February 4, 2016 12:40

1 Attachment(s)
Here is the case I am trying to run. If any of you could try to run this and see if you can get it working, I would really appreciate it!


All times are GMT -4. The time now is 12:17.