|
[Sponsors] |
May 3, 2011, 16:39 |
Top wall motion
|
#21 |
New Member
Join Date: Dec 2010
Posts: 19
Rep Power: 15 |
I am having trouble with the top wall moving in either direction w/ the flap. As it moves to the limit of motion, the mesh collapses and crashes the run.
I've fixed the top motion to be 0 in all directions, but this just causes the mesh to distort in the upper corner of the flap. Anyone know how to fix this? Or do I have to re-mesh to a more coarse level of fidelity in the mesh? Thanks |
|
May 3, 2011, 20:06 |
|
#22 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144 |
Please post a drawing of your setup.
|
|
May 3, 2011, 20:52 |
|
#23 |
New Member
Join Date: Dec 2010
Posts: 19
Rep Power: 15 |
Not much to draw; rectangle that is half full w/ water and I flap the right side to induce the waves. I've have attached the picture of the mesh collapsing on the upper left corner (opposite the flapping wall). Because the top boundary is moving, it collapses over itself and crashes the run.
The first is the time step before the run crashes, the second is a screen shot at failure: BEFORE_FAILURE.pdf FAILURE.pdf I never had this problem when I was using a piston type wall movement, only here w/ the flap-type. I've since refined the mesh to be more coarse at the top corners in an effort to get around this, but I don't know why this way moves the top wall and the piston didn't. Any help would be greatly appreciated, thanks! |
|
May 4, 2011, 00:32 |
|
#24 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144 |
The solution should be obvious - you need to make the top wall "unspecified" motion.
|
|
May 4, 2011, 22:28 |
|
#25 |
New Member
Join Date: Dec 2010
Posts: 19
Rep Power: 15 |
That didn't work. It compressed the mesh from the middle when 'unspecified'; sagged down the same displacement provided, then crashed when the mesh collapsed.
|
|
May 5, 2011, 08:19 |
|
#26 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144 |
Can you post some images?
|
|
May 5, 2011, 12:55 |
|
#27 |
New Member
Join Date: Dec 2010
Posts: 19
Rep Power: 15 |
Sorry, I found a slight error when inserting my ref coord frame for the rigid body (darn decimals...). I will be running it again today, should have a result by tomrw...
Thanks again for helping |
|
May 6, 2011, 20:56 |
Worked
|
#28 |
New Member
Join Date: Dec 2010
Posts: 19
Rep Power: 15 |
Thanks, worked like a charm!
Does anyone know how one of the earlier posters on this discussion was able to make this plot? I have been trying to make a plot of wave height like this, but my accuracy when compared to actually measuring it in Post Processor does not match. Does anyone know if this is through a function w/in CFX or how this was done? I tried using pressure to calculate the wave height above a known point w/in the water, but again, it does not compare to the measured height. Does anyone know the best way to get the free surface height? Thanks Last edited by salvooch; May 6, 2011 at 22:02. |
|
May 7, 2011, 08:43 |
|
#29 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144 |
In CFD-Post draw a line parallel to the gravity vector which crosses the surface. Then calculate a line integral of volume fraction on the line.
A better way of doing it for transient runs is to define a monitor point, then it will be calculated for each time step. Define a plane parallel to the gravity vector or a long skinny volume and do an integral of volume fraction on it. |
|
May 7, 2011, 20:46 |
|
#30 |
New Member
Join Date: Dec 2010
Posts: 19
Rep Power: 15 |
You mean the lengthInt command in the post calculator set to water volume fraction, correct? Just want to be sure I am using the correct function in Post.
Also, is there a way to have Post step through and gather the values? I put the expression into the table but it only collects the data from the current time step. If I have to step thru each one and record the data, OK, it's not that bad; just wondering if there is an easier way to export the data to a table. You mention a way to get this to work w/ a monitor point in Pre, but how does that input to an integral along a line to measure the volume fraction? Is there a way to input a 'monitor line' in Pre? Exporting the results would be much easier, but not sure how a point correlates to the line. Sorry to ask so many questions, but I do truly appreciate the help you've provided so far! Thank you, again! |
|
May 8, 2011, 09:35 |
|
#31 | ||
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144 |
Quote:
Quote:
You cannot use a line as a location reference in the solver (to my knowledge). That is why I recommend you use a long skinny volume (which approximates a line) or a surface. Output the data using a CEL expression on a monitor point. |
|||
May 9, 2011, 19:44 |
|
#32 |
New Member
Join Date: Dec 2010
Posts: 19
Rep Power: 15 |
Thanks, you've helped me out a lot!
|
|
November 29, 2012, 03:49 |
|
#33 | |
New Member
hoannv
Join Date: Apr 2011
Posts: 8
Rep Power: 15 |
Quote:
Hi ! Could you tell me how to creat wave boundary condition. I have tried many time but no result ... Thank and Brg |
||
November 29, 2012, 17:09 |
|
#34 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144 |
Simple waves can be generated by moving a boundary wall or imposing a simple sinuosoidal function. A much better way is by imposing a linear or non-linear wave equation on a boundary - but that is much more complex. There are some posts ont he forum on this, do a search to find them, or search google.
|
|
August 2, 2014, 15:25 |
Help
|
#35 |
New Member
belgacem
Join Date: Jan 2012
Posts: 22
Rep Power: 14 |
Hi Friend
Can you more explain how to used the linear velocity filed at the inlet to generate the wave? how to set up this condition using the CEL. |
|
August 2, 2014, 15:26 |
|
#36 |
New Member
belgacem
Join Date: Jan 2012
Posts: 22
Rep Power: 14 |
Hi Friend
Can you more explain how to used the linear velocity filed at the inlet to generate the wave? how to set up this condition using the CEL. |
|
February 20, 2015, 11:37 |
Wave Generation with Turbulence Models
|
#37 |
Member
Ahmed Elhanfi
Join Date: Nov 2014
Posts: 30
Rep Power: 12 |
Hi All,
Id like to generate regular waves in Fluent. I successfully generated regular waves with laminar flow, but when tried to move to turbulent flow using either K-E or K_W and SST models, I got a problem with the results as you can see in the attachment. Please, if you don’t mid helping me with this issue. My Model Details are as follow: Model details: 2-D model with 40m length 0.8m height and 0.5m water depth. Free surface zone is 0.3m with 20 element/wave height and 100 element/wave length. Mesh quality (Quad) 1.0. I’m using open channel boundary conditions, Implicit solver. Boundary conditions: Left side: Inlet (open channel), Right side: no slip wall, bottom: no slip wall, top: outlet (open channel) Solver settings: Pressure-Velocity Coupling: PISO Gradient: Least Squares Cell Based Pressure: PRESTO! or Body Force Weighted Momentum: Second order upwind Volume Fraction: Compressive For turbulence: Kinetic energy and dissipation: 1st and 2nd order upwind Transient Formulation: Bounded 2nd order Implicit Time step: 0.0025 sec. No of Iterations: 20 Thanks. |
|
February 21, 2015, 06:24 |
|
#38 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144 |
Try the fluent forum.
|
|
October 18, 2016, 13:41 |
|
#39 | |
New Member
Paulus Sidabalok
Join Date: Feb 2016
Location: Bandung, Indonesia
Posts: 12
Rep Power: 10 |
Quote:
Any update about how to prevent wave height damping along its propagation in wave tank? Some say I need to run it in laminar model. But my work need it in turbulent model |
||
October 18, 2016, 18:43 |
|
#40 |
Super Moderator
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,854
Rep Power: 144 |
Firstly, have you confirmed you have a situation where the waves are not highly damped?
If the flow should not be highly damped but the simulation is then you have a problem with numerical dissipation. Have you done all the normal things to reduce numerical dissipation? Finer mesh, smaller time steps, high order space and time differencing. Also check the options for the free surface model as some of them are dissipative. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
what is the condition to use the wave equation? | mmff | Main CFD Forum | 0 | January 26, 2010 05:25 |
Continuous vs interrupted simulation | sega | OpenFOAM Running, Solving & CFD | 4 | November 3, 2008 15:29 |
Breaking Wave Simulation | Mehdi BEN HAJ | Main CFD Forum | 2 | February 12, 2002 12:07 |
Breaking Wave Simulation | Mehdi BEN HAJ | CFX | 0 | February 9, 2002 13:34 |
Breaking Wave Simulation | Mehdi BEN HAJ | Siemens | 0 | February 9, 2002 13:32 |