CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Case exiting after time = 1. Set-up error? (https://www.cfd-online.com/Forums/openfoam-solving/214174-case-exiting-after-time-1-set-up-error.html)

Kieran January 22, 2019 09:20

Case exiting after time = 1. Set-up error?
 
Hi there,

I'm trying to simulate a case for a tidal turbine. Ive meshed a single blade (of 3) in Pointwise, in a 1/3rd cylinder domain, with cyclic boundary coniditions, using the T-Rex feature to generate a hybrid mesh.

Using checkMesh returns that the mesh is okay (I've attached the log), but when I try to run the case, only a single iteration is started before exiting.
I'm quite new to OpenFOAM, and I can't work out why it's not proceeding after a single iteration. No error message is produced as far as I can tell, it just seems to end abruptly (log also attached).

Im using the SRFSimpleFOAM solver. My end time is in ControlDict is currently set to 500 with deltat of 1, which is low but I wanted to check the solver would properly initialise first. I've tried browsing the forums and google, but I don't know what my problem is so it's hard to find similar cases.

Thanks in advance. If any further detail is needed please let me know. I've also attached the fvsolution and fvscheme files.

Kieran

sufjanst January 23, 2019 03:08

You said that a deltat of 1s is low. That sounds like you want to run the simulation in transient. 1s of deltat is way to large for a transient simulation. Your values in your controlDict look more like they should be used in a steady-state simulation.



Does your simulation finish after 1 itertion or does it crash?
Do you get an error message?

Kieran January 23, 2019 04:10

Thanks for replying sufjanst, I was thinking my end-time of 500 was a bit low, I would be expecting to run for thousands of timesteps, but this is just for testing. I am looking at steady-state simulations.

It finished as far as I can tell, there was no error message or crash log. I found my issue though I think. I changed my solver in fvsolution from GAMG to PCG and also realised my geometry scale was wrong, so adjusted using transformPoints. It now is able to run past time = 1.


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