CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

Re-Meshing

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

Like Tree1Likes
  • 1 Post By ghorrocks

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 18, 2014, 18:15
Default Re-Meshing
  #1
New Member
 
Jim
Join Date: Feb 2014
Posts: 11
Rep Power: 12
JimG91 is on a distinguished road
Hi,

I have a buoyant object in water and air that is moving on waves (translational & rotational) created by a moving wall. I'm using a rigid body solution but I keep getting errors. I think my setup is correct so I'm wondering if you have to do remeshing with this type of rigid body?
JimG91 is offline   Reply With Quote

Old   March 18, 2014, 19:40
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,665
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
It is a bit easier to guess what the problem is when you include the error message.

While you are at it, include your CCL and an image of what you are modelling.
ghorrocks is offline   Reply With Quote

Old   March 19, 2014, 14:25
Default
  #3
New Member
 
Jim
Join Date: Feb 2014
Posts: 11
Rep Power: 12
JimG91 is on a distinguished road
This is the image of what I'm modelling http://i.imgur.com/3kn8Iuv.png. I think it could possibly be a problem with my ccl alright.

Here are the ccls I'm using : volume fraction for water--> step(1-y / 2.5 [m]). volume fraction for air--> 1.0 - water vf. Motion of the moving wall--> if( x >= 0[m], wxdisp*x/(5[m]+wxdisp), 0[m])

where: "wxdisp"-->if( (t-tOn) >=0[s], -0.5[m]*sin(min(t-tOn,0.5[s])*(pi/2.[s rad^-1])), 0[m]).
"tOn"--> 0.075 [s]

The solution runs and begins plotting the data but after a few minutes (accumulated timestep = 12, where the timestep is 0.025 [s] running for 3 [s]) I get a "size mismatch" error where the solver "expected 191 values, but found 54". The solver still runs for awhile but records no data on the graph and eventually ends with an "error return code 1" and then "the solver failed with a non-zero exit code of : 2"

I have tried using a simple wall movement ccl--> if(x>=2[m], -1[m], 0[m]) but the solution doesn't run and ends with an "error return code 1" and then "the solver failed with a non-zero exit code of : 2"
JimG91 is offline   Reply With Quote

Old   March 19, 2014, 17:41
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,665
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Please post the full and actual CCL from your simulation, not just editted highlights.

Also post your output file which shows the error message.
ghorrocks is offline   Reply With Quote

Old   March 20, 2014, 11:30
Default
  #5
Senior Member
 
Edmund Singer P.E.
Join Date: Aug 2010
Location: Minneapolis, MN
Posts: 511
Rep Power: 20
singer1812 is on a distinguished road
Looks like you are doing the tutorial from CFX.

The size mismatch is unrelated to the solver crashing. I used to get this alot when monitoring solutions running across a network. Seems the solver manager gets confused on the graphing. Closing Solver Manager and reopening will fix this (at least until it occurs again).

I have run that tutorial before. Using the settings "as-is" will not allow it to run indefinately. It does indeed diverge. Before you ask me, no, I did not try to "fix" it to run on out. I was only interested in the setup and method, which the tutorial does fine with.
singer1812 is offline   Reply With Quote

Old   March 21, 2014, 10:16
Default
  #6
New Member
 
Jim
Join Date: Feb 2014
Posts: 11
Rep Power: 12
JimG91 is on a distinguished road
Sorry for the late reply Glenn I couldn't get onto a computer with Ansys. These are all of my expressions http://i.imgur.com/QgVZesK.png

Firstly I get a size mismatch error and then I get : An error has occurred in cfx5solve: |
| |
| The ANSYS CFX solver exited with return code 1. |
+--------------------------------------------------------------------+

End of solution stage.

+--------------------------------------------------------------------+
| The following transient and backup files written by the ANSYS CFX |
| solver have been saved in the directory U:/My |
| Documents/FYP/upsol1_pending_tasks/dp0_CFX 1_Solution_1-1/Fluid |
| Flow CFX_012: |
| |
| 9.trn, 6.trn, 3.trn, 24.trn, 21.trn, 18.trn, 15.trn, 12.trn, 0.trn |
+--------------------------------------------------------------------+


+--------------------------------------------------------------------+
| The results from this run of the ANSYS CFX Solver have been |
| written to U:/My Documents/FYP/upsol1_pending_tasks/dp0_CFX |
| 1_Solution_1-1/Fluid Flow CFX_012.res |
+--------------------------------------------------------------------+


This run of the ANSYS CFX Solver has finished.​

Yes its basically a simplified version of the "Buoy" tutorial (without the subdomain & interface) however I've looked at this several times and i still can't get my solution to run so maybe it's my wall movement expression?
JimG91 is offline   Reply With Quote

Old   March 22, 2014, 05:41
Default
  #7
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,665
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
I am not asking for just the expressions. I need the full CCL of your simulation to see what you have done. I suspect you do not know what the CCL is.....

In that case please post the full output file of a simulation as an attachment, or linked to somewhere.
ghorrocks is offline   Reply With Quote

Old   March 23, 2014, 18:17
Default
  #8
New Member
 
Jim
Join Date: Feb 2014
Posts: 11
Rep Power: 12
JimG91 is on a distinguished road
I think these are my results here, you should be able to see them. https://www.dropbox.com/s/ct1ozyce8l..._007_cgns.cgns
JimG91 is offline   Reply With Quote

Old   March 23, 2014, 18:22
Default
  #9
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,665
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
It is pretty obvious what has happened there. You mesh has got squashed to oblivion on the bottom of the hull.

You still have not posted your CCL or an output file. I am going to give up asking soon.
ghorrocks is offline   Reply With Quote

Old   March 23, 2014, 18:41
Default
  #10
New Member
 
Jim
Join Date: Feb 2014
Posts: 11
Rep Power: 12
JimG91 is on a distinguished road
Sorry I did't realise what to send, here is the output file https://www.dropbox.com/s/gj46yj30opjwbnx/output.txt
JimG91 is offline   Reply With Quote

Old   March 23, 2014, 18:47
Default
  #11
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,665
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
At last. And as usual, it has shown some major issues - that is why we ask for it.

You are using a mixture model multiphase model, but have turned free surface model off. Why did you do this? If this thing is meant to be floating on the water surface you will need to turn the mixture model off and turn free surface model on.

There is a CFX example of a buoy floating on the water surface. It does not come with CFX but ANSYS support will have it. You should ask support for it because it will show you exactly how to set this sort of simulation up.
JimG91 likes this.
ghorrocks is offline   Reply With Quote

Old   March 24, 2014, 10:27
Default
  #12
New Member
 
Jim
Join Date: Feb 2014
Posts: 11
Rep Power: 12
JimG91 is on a distinguished road
I've changed the option to free surface and emailed ANSYS support for an example but I'm waiting for a reply. The problem with the solver crashing seems to be that the Hull doesn't remain floating on the water and falls down dragging the enclosure with it as the failed results show http://i.imgur.com/a7kmfuu.png

My reference density for buoyancy is set as the same same as the air (1.185 kg m^-3).

Do you know why this could be happening? Here is my output file https://www.dropbox.com/s/z7z3prllkedpuo8/output2.txt
JimG91 is offline   Reply With Quote

Old   March 24, 2014, 17:37
Default
  #13
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,665
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
You are not using the correct multiphase model so a free surface will not form. The hull floats on the fluid interface so you have to establish a proper fluid interface before it will float.

Can you post an image of the initial condition of volume fraction, and what it looks like after a few time steps.
ghorrocks is offline   Reply With Quote

Reply

Tags
buoyant, cfx, re-meshing, rigid body, wave

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Best Meshing scheme for Cylinder Nutrex Main CFD Forum 4 July 29, 2008 12:03
Meshing locks workbench window. andy2o CFX 0 February 1, 2008 06:01
Singularity of grid?Volume meshing vs face meshing Ken Main CFD Forum 0 September 4, 2003 12:09
Volume Meshing & Face Meshing? singularity of grid ken FLUENT 0 September 4, 2003 12:08


All times are GMT -4. The time now is 10:02.