CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Periodic flow using Cyclic - comparison with Fluent

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 21, 2015, 08:14
Default
  #21
Senior Member
 
RodriguezFatz's Avatar
 
Philipp
Join Date: Jun 2011
Location: Germany
Posts: 1,297
Rep Power: 27
RodriguezFatz will become famous soon enough
For the mapped case:
You set the velocity to some fixed value at the outlet. Of course you will not get the same as in cyclic. Also the pressure boundary condition is wrong.
So you should really try to use the boundary conditions for mapped case that I used in my old thread. Why did you change them?
__________________
The skeleton ran out of shampoo in the shower.
RodriguezFatz is offline   Reply With Quote

Old   October 31, 2015, 11:04
Default
  #22
Member
 
1214
Join Date: Sep 2015
Posts: 30
Rep Power: 11
nusivares is on a distinguished road
Hi,

It has been quite a mad week, so I struggled to reply.

I tried implementing conditions your suggested and I did not achieve much success for Re=200 case, which should be low.

It struggled with the covergence as shown below:

RESIDUALS.png


The case files are again in dropbox:

https://www.dropbox.com/s/sjd6e552fb...mapped.7z?dl=0
nusivares is offline   Reply With Quote

Old   November 2, 2015, 02:22
Default
  #23
Senior Member
 
RodriguezFatz's Avatar
 
Philipp
Join Date: Jun 2011
Location: Germany
Posts: 1,297
Rep Power: 27
RodriguezFatz will become famous soon enough
The files you uploaded converge on my computer.
__________________
The skeleton ran out of shampoo in the shower.
RodriguezFatz is offline   Reply With Quote

Old   November 2, 2015, 05:28
Default
  #24
Member
 
1214
Join Date: Sep 2015
Posts: 30
Rep Power: 11
nusivares is on a distinguished road
Hi,

That did slightly confuse me. What version are you using of OpenFOAM?

I have just downloaded the files myself and got the same behaviour as in the post on Saturday.
nusivares is offline   Reply With Quote

Old   November 2, 2015, 05:30
Default
  #25
Senior Member
 
RodriguezFatz's Avatar
 
Philipp
Join Date: Jun 2011
Location: Germany
Posts: 1,297
Rep Power: 27
RodriguezFatz will become famous soon enough
It says "2.3.x.".
__________________
The skeleton ran out of shampoo in the shower.
RodriguezFatz is offline   Reply With Quote

Old   November 2, 2015, 14:27
Default
  #26
Member
 
1214
Join Date: Sep 2015
Posts: 30
Rep Power: 11
nusivares is on a distinguished road
That is fairly weird - I did load 2.3.1 (normally using 2.4.0) and I still got the same result


Do you have any of the solvers modified?

Could send back the file? I would be interested to see it.
nusivares is offline   Reply With Quote

Old   November 2, 2015, 14:54
Default
  #27
Senior Member
 
RodriguezFatz's Avatar
 
Philipp
Join Date: Jun 2011
Location: Germany
Posts: 1,297
Rep Power: 27
RodriguezFatz will become famous soon enough
I deleted the 1000, 2000, ... directories and typed "simplefoam > log". What did you do?

res.png
__________________
The skeleton ran out of shampoo in the shower.

Last edited by RodriguezFatz; November 3, 2015 at 03:10.
RodriguezFatz is offline   Reply With Quote

Old   November 3, 2015, 05:28
Default
  #28
Member
 
1214
Join Date: Sep 2015
Posts: 30
Rep Power: 11
nusivares is on a distinguished road
I have just now done exactly the same and got a following:

Screenshot-1.png

This is really getting weird and hardly explanable
nusivares is offline   Reply With Quote

Old   November 3, 2015, 05:38
Default
  #29
Senior Member
 
RodriguezFatz's Avatar
 
Philipp
Join Date: Jun 2011
Location: Germany
Posts: 1,297
Rep Power: 27
RodriguezFatz will become famous soon enough
These (1st. order) settings converge much smoother than yours:

Code:
gradSchemes
{
    default         Gauss linear;
    //grad(U)         cellLimited Gauss linear 1;
}

divSchemes
{
    default         none;
    div(phi,U)      bounded Gauss upwind; //linearUpwindV grad(U);
    div(phi,k)      bounded Gauss upwind;
    div(phi,omega)  bounded Gauss upwind;
    div((nuEff*dev(T(grad(U))))) Gauss linear;
}

laplacianSchemes
{
    default         Gauss linear uncorrected;
}
res.png
__________________
The skeleton ran out of shampoo in the shower.
RodriguezFatz is offline   Reply With Quote

Old   November 3, 2015, 06:33
Default
  #30
Member
 
1214
Join Date: Sep 2015
Posts: 30
Rep Power: 11
nusivares is on a distinguished road
Hi,

Thanks for giving a bit of advice on the which schemes to use - I am still slightly confused how to set/modify these.

It did converge. The result seems a bit different, but again, I need to evaluate some physical quantities.

The documentation on them is slightly interesting sometimes.
nusivares is offline   Reply With Quote

Old   December 12, 2017, 06:35
Default constant average velocity at inlet with periodic boundary conditions
  #31
New Member
 
Qihao Jiang
Join Date: Dec 2017
Posts: 20
Rep Power: 9
Qihao is on a distinguished road
[QUOTE=nusivares;569006]Hello all,

As of OpenFOAM I imported the fluent mesh, created cyclic boundary conditions and used the fvOptions file to set the momentum source terms using mean velocity to make the things flow.

I was simulating a channel flow which inlet and out are cyclic boundary conditions, while I do not know how to give a flow velocity boundary condition at the inlet to let it flow, can you add a flow velocity or discharge at the base of cyclic boundary condition?
Qihao is offline   Reply With Quote

Reply

Tags
fluent, openfoam, periodic flow


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
Periodic Pipe Flow LES dvolkind CFX 8 March 21, 2020 06:30
No flow through periodic (cyclic) boundaries in impeller with foam-extend-3.1 anttiad9000 OpenFOAM Running, Solving & CFD 3 March 2, 2016 20:37
Fluent v15 multiphase flow b.c. failure Non-channel flow mickjazz Fluent Multiphase 1 September 22, 2014 07:41
Comparison between Solidworks Flow Simulation and Ansys Fluent Bruce828 Main CFD Forum 5 February 23, 2013 11:13
Split boundary zone in FLUENT for mass flow eishinsnsayshin FLUENT 1 January 18, 2013 14:43


All times are GMT -4. The time now is 19:41.