CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > FLOW-3D

Gravity modeled by customization does not conform with that is added in GUI

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 15, 2017, 21:28
Default Gravity modeled by customization does not conform with that is added in GUI
  #1
New Member
 
Join Date: Apr 2014
Posts: 17
Rep Power: 5
boesendorfer is on a distinguished road
Gravity model has been included in physics panel of GUI.
However, I disabled this model in GUI and tried to account for gravity force by customization shown below because of some other reasons.

In the forcal.f, I loop over all fluid cell and set fsigz(ijk)=-9.8*rho(ijk)*delx(i)*dely(j)*delz(k)*f(ijk)
Also I've added iffor=1 in prepin file.

Then I run a simulation of stationary liquid with density of 7800 and depth of 0.01m. The mesh size is 0.001m.

The result shows that it does have effort. But the pressure at the bottom is about 15MPa higher than that is simulated by individual gravity model in GUI.

Why?
boesendorfer is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Customization using parqsr.f for mass momentum source boesendorfer FLOW-3D 0 May 28, 2017 09:30
ANSYS Workbench on "Uncertified" Linux Distros hsr CFX 264 April 27, 2017 11:46
Segmentation fault in layerAdditionRemoval Foam-extend 3.1 jbettencourt OpenFOAM Running, Solving & CFD 3 March 10, 2016 06:53


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