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

Converting a SteadyState solution to a Transient one

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 5, 2023, 09:08
Default Converting a SteadyState solution to a Transient one
  #1
New Member
 
Join Date: Jun 2023
Posts: 4
Rep Power: 3
JSSS is on a distinguished road
Hello all

I have just finished running a steadystate solution and I intend to use its solution as an initial condition for a new transient solution where I deploy a scalar transport field to act as a tracer gas. However even though I swapped the ddt schemes from steady state to euler, it is still not displaying the courant number in the logs (the solution also doesn't look like it's transient). I am running simpleFoam and in parallel. I did not recompose before switching. Here's a small section of the logs

Code:
Time = 0.0009

smoothSolver:  Solving for Ux, Initial residual = 5.299686e-06, Final residual = 2.162227e-07, No Iterations 3
smoothSolver:  Solving for Uy, Initial residual = 4.553134e-05, Final residual = 1.709658e-06, No Iterations 3
smoothSolver:  Solving for Uz, Initial residual = 0.0002430396, Final residual = 1.114784e-05, No Iterations 3
GAMG:  Solving for p, Initial residual = 0.007326301, Final residual = 0.0003593539, No Iterations 2
time step continuity errors : sum local = 1.773572e-11, global = -1.730942e-12, cumulative = -1.344209e-11
smoothSolver:  Solving for epsilon, Initial residual = 1.622915e-08, Final residual = 2.622095e-13, No Iterations 1
smoothSolver:  Solving for k, Initial residual = 1.132605e-07, Final residual = 2.673314e-12, No Iterations 1
ExecutionTime = 756.36 s  ClockTime = 758 s

scalarTransport execute: s
[6] **codeConstrain**
[1] **codeConstrain**
[0] **codeConstrain**
[5] **codeConstrain**
[2] **codeConstrain**
[4] **codeConstrain**
[3] **codeConstrain**
[9] **codeConstrain**
[8] **codeConstrain**
[7] **codeConstrain**
smoothSolver:  Solving for s, Initial residual = 4.004279e-06, Final residual = 1.686405e-09, No Iterations 1
[6] **codeConstrain**
[1] **codeConstrain**
[3] **codeConstrain**
[2] **codeConstrain**
[0] **codeConstrain**
[5] **codeConstrain**
[7] **codeConstrain**
[8] **codeConstrain**
[4] **codeConstrain**
[9] **codeConstrain**
smoothSolver:  Solving for s, Initial residual = 2.672646e-06, Final residual = 1.257604e-09, No Iterations 1

scalarTransport write: scalar1
	s

Time = 0.001

smoothSolver:  Solving for Ux, Initial residual = 5.265667e-06, Final residual = 2.148423e-07, No Iterations 3
smoothSolver:  Solving for Uy, Initial residual = 4.534023e-05, Final residual = 1.709122e-06, No Iterations 3
smoothSolver:  Solving for Uz, Initial residual = 0.0002395136, Final residual = 1.122452e-05, No Iterations 3
GAMG:  Solving for p, Initial residual = 0.009247327, Final residual = 0.0008550793, No Iterations 1
time step continuity errors : sum local = 4.22062e-11, global = 1.982301e-12, cumulative = -1.145979e-11
smoothSolver:  Solving for epsilon, Initial residual = 1.625604e-08, Final residual = 2.622987e-13, No Iterations 1
smoothSolver:  Solving for k, Initial residual = 1.133583e-07, Final residual = 2.672715e-12, No Iterations 1
ExecutionTime = 834.04 s  ClockTime = 836 s

scalarTransport execute: s
[5] **codeConstrain**
[2] **codeConstrain**
[9] **codeConstrain**
[6] **codeConstrain**
[3] **codeConstrain**
[1] **codeConstrain**
[4] **codeConstrain**
[0] **codeConstrain**
[8] **codeConstrain**
[7] **codeConstrain**
smoothSolver:  Solving for s, Initial residual = 3.56421e-06, Final residual = 1.497856e-09, No Iterations 1
[1] **codeConstrain**
[5] **codeConstrain**
[6] **codeConstrain**
[3] **codeConstrain**
[4] **codeConstrain**
[2] **codeConstrain**
[9] **codeConstrain**
[0] **codeConstrain**
[8] **codeConstrain**
[7] **codeConstrain**
smoothSolver:  Solving for s, Initial residual = 2.396422e-06, Final residual = 1.125167e-09, No Iterations 1

scalarTransport write: scalar1
	s

End
Let me know if you need me to post anything that you may need.
JSSS is offline   Reply With Quote

Old   October 5, 2023, 09:16
Default
  #2
Senior Member
 
Yann
Join Date: Apr 2012
Location: France
Posts: 1,238
Rep Power: 29
Yann will become famous soon enoughYann will become famous soon enough
Hello,

simpleFoam is a steady state solver. You need to run pimpleFoam for a transient case.

Cheers,
Yann
Yann 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
2way FSi, Initialize with steady solution, Fluent, Transient Sturcural, System Coupli mmkkeshavarzi FLUENT 1 June 28, 2024 08:03
Time step size mismatch when loading steady-state solution in Fluent for transient an dgnidovec FLUENT 5 June 12, 2023 09:18
Not getting converged solution in transient simulation Julian121 CFX 6 April 27, 2019 03:00
Steady state solution as an initial condition for a transient problem adnanakhtar FLUENT 7 November 25, 2016 06:16
Slow Transient Solution scoobysimon FLUENT 1 March 21, 2014 04:19


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