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

Search Results

Register Blogs Community New Posts Updated Threads Search

Showing results 1 to 3 of 3
Search took 0.00 seconds.
Search: Posts Made By: styleworker
Forum: OpenFOAM Programming & Development March 30, 2015, 13:16
Replies: 40
Views: 17,754
Posted By styleworker
then you should update gh and ghf, too. ...

then you should update gh and ghf, too.


gh = g & mesh.C();
ghf = g & mesh.Cf();
Forum: OpenFOAM Programming & Development March 30, 2015, 12:45
Replies: 40
Views: 17,754
Posted By styleworker
While loops in createFields.H doesn't make sense,...

While loops in createFields.H doesn't make sense, since the timeStep isn't updated. Update g.value() in runTime while loop (interFoam.C).

For example:

while (runTime.run())
{
#include...
Forum: OpenFOAM Programming & Development March 29, 2015, 16:27
Replies: 40
Views: 17,754
Posted By styleworker
createFields.H is just read at the beginning of...

createFields.H is just read at the beginning of the simulation. You should update g.value() at each time step
Showing results 1 to 3 of 3

 
Forum Jump

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