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

how to set pRefpoint if fvsolutions

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 15, 2015, 12:29
Default how to set pRefpoint if fvsolutions
  #1
Senior Member
 
musaddeque hossein
Join Date: Mar 2009
Posts: 309
Rep Power: 18
musahossein is on a distinguished road
Dear all:
I am running sloshingTank2D in interDymFoam. My question is about the pRefPoint in fvSolutions directory. Does the point have to be located in one of the phases. For example if I am using water / air phase, then does pRefPoint have to be in the water? There are times when OpenFoam will say that the pRefPoint cannot be found, even though I know it is within the tank. How can I deal with this?

Thanks
musahossein is offline   Reply With Quote

Old   January 15, 2015, 15:55
Default prefPoint cannot be located
  #2
Senior Member
 
musaddeque hossein
Join Date: Mar 2009
Posts: 309
Rep Power: 18
musahossein is on a distinguished road
Dear all:

I have a small tank in OpenFOA/interDyMFoam/SolshingTank2d. The Tank dimensions are length =1.9m, depth is 1.27m, thickness is 0.1m. Water depth is 0.27m. I am applying a sinusoidal wave varying between -+0.94m. The solutions runs ok for the first few iterations and then I get the following message:
Code:
[1] 
[1] --> FOAM FATAL IO ERROR: 
[1] Unable to set reference cell for field p
    Reference point pRefPoint (0 0 0) found on 0 domains (should be one)
[1] 
[1] 
[1] file: IOstream.PIMPLE from line 0 to line 0.
[1] 
[1]     From function void Foam::setRefCell
(
    const volScalarField&,
    const volScalarField&,
    const dictionary&,
    label& scalar&,
    bool
)
[1]     in file cfdTools/general/findRefCell/findRefCell.C at line 105.
[1] 
FOAM parallel run exiting
[1]
My coordinate system is set so that it is set on the water/air interface and is located midway along the length of the tank. I am using a mesh of 120 cells in the horizontal and 300 in the vertical direction. I have set pRefPoint at 0,0,0. So dont know why I get this error. I have tried it at other locations well, and that does not seem to help.

Any advice will be greatly appreciated.

Last edited by wyldckat; January 25, 2015 at 11:29. Reason: Added [CODE][/CODE]
musahossein is offline   Reply With Quote

Old   January 21, 2015, 15:06
Default prefpoint cannot be located
  #3
Senior Member
 
musaddeque hossein
Join Date: Mar 2009
Posts: 309
Rep Power: 18
musahossein is on a distinguished road
I have a question about prePoint in sloshingTank2d/system/fvsolutions. I am running a 2d tank problem L=1,8m, water depth is 0.6m; tank thickness is 0.5m. Mesh is 100x300. After the first few iterations, I get the following error:
Code:
1] file: IOstream.PIMPLE from line [2] 
 [2] 
 [2] --> FOAM FATAL IO ERROR: 
 [2] Unable to set reference cell for field p
     Reference point pRefPoint (0 0 0) found on 0 domains (should be one)
 [2] 
 [2] 
 [2] file: IOstream.PIMPLE from line 0 to line 0.[3] 
 [3] 
 [3] --> FOAM FATAL IO ERROR: 
 [3] Unable to set reference cell for field p
     Reference point pRefPoint (0 0 0) found on 0 domains (should be one)
 [3] 
 [3] 
 [3] file: IOstream.PIMPLE from line 0 to line 0.
 [3] 
 [3]     From function [5] 
 [5] 
 [5] --> FOAM FATAL IO ERROR: 
 [5] Unable to set reference cell for field p
     Reference point pRefPoint (0 0 0) found on 0 domains (should be one)
 [5] 
 [5] 
 [5] file: IOstream.PIMPLE from line 0 to line 0.
 [5] 
 [5]     From function void Foam::setRefCell
 (
     const volScalarField&,
     const volScalarField&,
     const dictionary&,
     label& scalar&,
     bool


but point 0,0,0 is in the analysis space (i.e in the tank). So why am I getting this error. Is there a workaround this, so I dont see this error i.e.any fool proof way to put the point such that OpenFOAM finds it each time?
Thanks in advance.

Last edited by wyldckat; January 25, 2015 at 11:26. Reason: Added [CODE][/CODE]
musahossein is offline   Reply With Quote

Old   January 25, 2015, 11:31
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Musaddeque,

I need a test case in order to test this. But if I'm not mistaken, this bug has already been fixed in OpenFOAM 2.3.
If you cannot provide a test case, please test with the latest OpenFOAM 2.3.1.

Best regards,
Bruno

PS: For future reference, this thread is somewhat related to these two:
__________________
wyldckat is offline   Reply With Quote

Old   January 25, 2015, 16:01
Default prefpoint cannot be located
  #5
Senior Member
 
musaddeque hossein
Join Date: Mar 2009
Posts: 309
Rep Power: 18
musahossein is on a distinguished road
WyldKat:

Thanks for your response. I have found that when the numerical solution being performed by OpenFOAM starts to grow out of bounds, the prefpoint error is one of the errors I get. So I think, the preferror is an indirect effect due to other errors that are occuring at runtime. I checked this by plotting an out put as openfoam is running, say the force from a 2d tank. The plot shows that when the force suddenly increases, OpenFoam shuts down and issues this error and shuts down the parallel process. I will try to replicate this process for your review in the near future.

Thankyou again for taking the time to respond.

Musa
musahossein is offline   Reply With Quote

Reply

Tags
fvsolution, prefpoint, sloshingtank2d


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
TimeVaryingMappedFixedValue irishdave OpenFOAM Running, Solving & CFD 32 June 16, 2021 06:55
[General] 2 datas on one plot Akuji ParaView 46 December 1, 2013 14:06
problem of four patches set to cyclic boundary bryant_k OpenFOAM 9 September 22, 2013 12:42
Install problem in linux navaladi OpenFOAM Installation 11 July 17, 2008 02:24
Ibm java gcc rrr OpenFOAM Installation 2 December 30, 2005 04:18


All times are GMT -4. The time now is 00:46.