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

Temperature anomoly at pressure reference cell

Register Blogs Community New Posts Updated Threads Search

Like Tree5Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 30, 2015, 09:11
Default
  #21
Member
 
Peng Liang
Join Date: Mar 2014
Posts: 60
Rep Power: 12
tjliang is on a distinguished road
Quote:
Originally Posted by will.logie View Post
Hey Carlos,

I've just had a quick look at my makeAxialMesh example and found that this problem you mention persists for me too when I use makeAxialMesh, regardless of binary and writePrecision.

The example where ascii -> binary worked for me (post from April 6th) does not use makeAxialMesh. There I create the wedge in gmsh (translate mesh -1° about symmetryPlane and extrude/revolve 2° about symmetryPlane) and convert that to foam. So I'm not sure I can help you much further with makeAxialMesh - are you using gmsh?

I'm also not sure if you need to straddle the xy-plane equally or not. Maybe someone else can comment on the interpretation from the user manual:
Hello,

by the way i want to ask you about how you can do that in gmsh. Because when i managed to generate structured mesh in wedge in gmsh with one layer in the rotation direction, all that seems perfect . But after that when i define physical surfaces and volumes, I tried to generate the mesh again , all the meshes turned back to unstructured and in the rotation direction there is not the one layer grid any more. And i looked into the .geo file and fund out that all the codes related with Extrude was disappeared. Sofar i have got no idea about why.

Could you please tell me how to make wedge mesh in gmsh after define physical surfaces?

Bests,

Peng
tjliang is offline   Reply With Quote

Old   April 20, 2015, 03:14
Default
  #22
New Member
 
Will Logie
Join Date: Sep 2010
Location: ANU, Canberra, Australia
Posts: 21
Rep Power: 16
will.logie is on a distinguished road
Quote:
Originally Posted by nimasam View Post
another suggestion which works for me was like that:
Code:
 fvScalarMatrix p_rghEqn
        (
            fvm::laplacian(rAUf, p_rgh) == fvc::div(phiHbyA)
        );

          p_rgh = p-rhok*gh;
          p_rghEqn.setReference(pRefCell, getRefCellValue(p_rgh, pRefCell));

        p_rghEqn.solve(mesh.solver(p_rgh.select(pimple.finalInnerIter())));
This got me thinking: do the situations we're talking about here (closedVolume) actually need a reference pressure?

Although we're defining one in fvSolution with pRefCell/pRefPoint and pRefValue, isn't it superfluous?


I've been running some simulations with

Code:
p_rghEqn.setReference(pRefCell, getRefCellValue(p_rgh, pRefCell));
commented out and so far like what I've been seeing.

Last edited by will.logie; April 20, 2015 at 20:29.
will.logie is offline   Reply With Quote

Old   July 17, 2021, 00:26
Default
  #23
Member
 
Join Date: Nov 2020
Posts: 53
Rep Power: 5
mikulo is on a distinguished road
Quote:
Originally Posted by Yahoo View Post
Hi
I have developed a solver which works fine on single processor, but diverges when I am running it on multiple processors. For the later, by changing the cell at which pressure is set (pRefCell), my results change. i.e. pRefCell is affecting the results on parallel simulations! Any hints?
Hello, i have encountered same problem with you too. I knew this is too late, but have you found a solution for this problem? Please help..
mikulo 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
Installing OpenFOAM-1.5-dev on a cluster ZKM OpenFOAM Installation 4 December 25, 2010 16:59
Neumann pressure BC and velocity field Antech Main CFD Forum 0 April 25, 2006 03:15
what the result is negatif pressure at inlet chong chee nan FLUENT 0 December 29, 2001 06:13
Hydrostatic pressure in 2-phase flow modeling (CFX4.2) HB &DS CFX 0 January 9, 2000 14:19
Hydrostatic pressure in 2-phase flow modeling (long) DS & HB Main CFD Forum 0 January 8, 2000 16:00


All times are GMT -4. The time now is 11:01.