CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens > STAR-CCM+

Initialization problem in open channel flow simulation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 11, 2015, 09:18
Default Initialization problem in open channel flow simulation
  #1
Senior Member
 
Sangwoo Kim
Join Date: Jul 2014
Location: Seoul, South Korea
Posts: 115
Rep Power: 12
swtbkim is on a distinguished road
Hi all.

I'm analyzing a propeller in a tank. I attached simple schematic figure.

Behind the propeller is a pipe, so air will be sucked because of a negative pressure there and rise to the surface.

I made a field function for a hydrostatic pressure distribution
--> hydro distribution = ($$Position[1]<=1)?{$$DensityofWater}*9.81*(1-$$Position[1]):0 (i.e. reference altitude is y=1.0m and gravity acts along -y direction)

Problem is that I can not initialize the hydrostatic pressure. star-ccm+ gave me an error.
"Unable to compute field function a hydrostatic pressure on "region", Please check that function is defined here"

If I don't initialize the pressure, then hydrostatic pressure distribution should be calculated in solver and it will take too long, and it didn't even converge.

I'm using MRF and multiphase - VOF.


Thank you in advance!
Attached Images
File Type: jpg figure.jpg (31.7 KB, 45 views)
__________________
Best regards
swtbkim is offline   Reply With Quote

Old   April 13, 2015, 17:35
Default
  #2
Senior Member
 
Matt
Join Date: Aug 2014
Posts: 947
Rep Power: 18
fluid23 is on a distinguished road
I have have seen it do something similar resulting from poorly defined region names that had extra '.' separators in the region name. So if I had a region named 'Region' and a boundary named 'Boundary One' I named it as 'Region.Boundary.One' So it was looking for a region boundary named Boundary not Boundary.One. It doesn't appear that this is your problem though.

I will say that it looks like maybe your DensityofWater field function maybe defined or called wrong. Perhaps I am mistaken, but I thought that a double $$ is for a vector, not a scalar.

Also, have you tried expert initialization (grid sequencing)? That has cut (literally) days off my analyses in the past. It isn't always appropriate, but when it works it works well.
fluid23 is offline   Reply With Quote

Reply


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
[swak4Foam] funkyDoCalc with OF2.3 massflow NiFl OpenFOAM Community Contributions 14 November 25, 2020 04:30
Boundary condition problem for open channel flow Andy CFX 9 June 11, 2016 08:20
Channel flow setup in Large-eddy simulation Weihua Main CFD Forum 6 November 17, 2015 10:33
Trouble compiling utilities using source-built OpenFOAM Artur OpenFOAM Programming & Development 14 October 29, 2013 11:59
Problem with VOF open channel modelling Biswanath Mahato FLUENT 1 September 14, 2006 05:20


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