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

Error continuing run from latest time with FaMesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 4, 2019, 03:36
Default Error continuing run from latest time with FaMesh
  #1
New Member
 
Riley
Join Date: Aug 2019
Posts: 2
Rep Power: 0
rileyodon is on a distinguished road
Hi,

I have run a simulation with no problems and now I want to use the final time as a start time (the purpose of this is so my internal fields are correctly initialised before I adjust some parameters in the controldict and continue running. Obviously it is ideal if I do not need to wait for this initialisation period to complete on every run.). The issue is when I run my solver after the initial run using startFrom latestTime I get the following error:

Code:
--> FOAM FATAL ERROR: 
S0 is not available

    From function const Foam::DimensionedField<double, Foam::areaMesh>& Foam::faMesh::S0() const
    in file faMesh/faMesh.C at line 1093.

FOAM aborting

#0  Foam::error::printStack(Foam::Ostream&) at ??:?
#1  Foam::error::abort() at ??:?
#2  Foam::faMesh::S0() const at ??:?
#3  Foam::fa::EulerFaDdtScheme<double>::famDdt(Foam::GeometricField<double, Foam::faPatchField, Foam::areaMesh> const&) at ??:?
#4  ? in ~/OpenFOAM/riley-v1906/platforms/linux64GccDPInt32Opt/bin/silicaROicoFoam
#5  ? in ~/OpenFOAM/riley-v1906/platforms/linux64GccDPInt32Opt/bin/silicaROicoFoam
#6  __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6
#7  ? in ~/OpenFOAM/riley-v1906/platforms/linux64GccDPInt32Opt/bin/silicaROicoFoam
Aborted (core dumped)
I hope someone has some idea about what could be causing this error? Thanks
rileyodon is offline   Reply With Quote

Old   October 18, 2019, 20:27
Default
  #2
New Member
 
Riley
Join Date: Aug 2019
Posts: 2
Rep Power: 0
rileyodon is on a distinguished road
I managed to resolve this issue by including

mesh.update();
mesh.moving(false);

before the solver loop
rileyodon is offline   Reply With Quote

Reply

Tags
famesh, latesttime


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
[General] Extracting ParaView Data into Python Arrays Jeffzda ParaView 30 November 6, 2023 22:00
[solidMechanics] Support thread for "Solid Mechanics Solvers added to OpenFOAM Extend" bigphil OpenFOAM CC Toolkits for Fluid-Structure Interaction 686 December 22, 2022 10:10
AMI speed performance danny123 OpenFOAM 21 October 24, 2020 05:13
Extrusion with OpenFoam problem No. Iterations 0 Lord Kelvin OpenFOAM Running, Solving & CFD 8 March 28, 2016 12:08
How to write k and epsilon before the abnormal end xiuying OpenFOAM Running, Solving & CFD 8 August 27, 2013 16:33


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