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

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

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 15, 2017, 22: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: 12
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

Old   September 12, 2017, 04:00
Default
  #2
boy
New Member
 
Guangxi
Join Date: Sep 2014
Location: China
Posts: 4
Rep Power: 12
boy is on a distinguished road
Hi,boesendorfer, Can you post your whole forcal subroutine here or send it to 1789078096@qq.com?
boy 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
ANSYS Workbench on "Uncertified" Linux Distros hsr CFX 289 April 20, 2023 10:23
Customization using parqsr.f for mass momentum source boesendorfer FLOW-3D 0 May 28, 2017 10:30
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 18:09.