CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Community Contributions

[waves2Foam] Difficulties using waveDyMFoam and waveFlumeDyMFoam

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 8, 2016, 16:47
Default Difficulties using waveDyMFoam and waveFlumeDyMFoam
  #1
New Member
 
Join Date: Dec 2015
Posts: 27
Rep Power: 10
toodles is on a distinguished road
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.
Attached Files
File Type: txt log.txt (10.6 KB, 13 views)
toodles is offline   Reply With Quote

Old   January 9, 2016, 15:24
Default
  #2
New Member
 
Join Date: Dec 2015
Posts: 27
Rep Power: 10
toodles is on a distinguished road
I figured it out. The problem was in my options file. Thanks!
toodles is offline   Reply With Quote

Old   January 14, 2016, 11:44
Default
  #3
New Member
 
Join Date: Dec 2015
Posts: 27
Rep Power: 10
toodles is on a distinguished road
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 is offline   Reply With Quote

Old   January 14, 2016, 11:46
Default
  #4
New Member
 
Join Date: Dec 2015
Posts: 27
Rep Power: 10
toodles is on a distinguished road
Sorry, here is the output that I meant to attach to the previous post.
Attached Files
File Type: txt log.txt (8.5 KB, 3 views)
toodles is offline   Reply With Quote

Old   January 19, 2016, 13:16
Default
  #5
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37
ngj will become famous soon enoughngj will become famous soon enough
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
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request.

Last edited by wyldckat; August 25, 2018 at 12:33. Reason: removed answers to other posts that were on the main thread
ngj is offline   Reply With Quote

Old   January 21, 2016, 19:32
Default
  #6
New Member
 
Join Date: Dec 2015
Posts: 27
Rep Power: 10
toodles is on a distinguished road
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.
Attached Files
File Type: txt log.txt (21.6 KB, 13 views)
toodles is offline   Reply With Quote

Old   January 24, 2016, 09:39
Default
  #7
Member
 
Stefan
Join Date: Jan 2010
Location: Kiel, Germany
Posts: 81
Rep Power: 16
SD@TUB is on a distinguished road
@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.
SD@TUB is offline   Reply With Quote

Old   January 27, 2016, 21:56
Default
  #8
New Member
 
Join Date: Dec 2015
Posts: 27
Rep Power: 10
toodles is on a distinguished road
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.
toodles is offline   Reply With Quote

Old   January 31, 2016, 03:28
Default
  #9
Member
 
Stefan
Join Date: Jan 2010
Location: Kiel, Germany
Posts: 81
Rep Power: 16
SD@TUB is on a distinguished road
@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.
SD@TUB is offline   Reply With Quote

Old   February 3, 2016, 22:21
Default
  #10
New Member
 
Join Date: Dec 2015
Posts: 27
Rep Power: 10
toodles is on a distinguished road
Quote:
Originally Posted by SD@TUB View Post
@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 is offline   Reply With Quote

Old   February 4, 2016, 13:40
Default
  #11
New Member
 
Join Date: Dec 2015
Posts: 27
Rep Power: 10
toodles is on a distinguished road
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!
Attached Files
File Type: zip waveFlumeDyM_OscillatingPlate.zip (42.1 KB, 21 views)
toodles is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



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