|
[Sponsors] |
Unsteady simulation with steady solution as initial value |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 27, 2014, 14:05 |
Unsteady simulation with steady solution as initial value
|
#1 |
Member
Ye Zhang
Join Date: Dec 2009
Location: Delft,Netherland
Posts: 92
Rep Power: 17 |
Dear all
I try to simulate an unsteady case with converged steady solution as initial value. So What I did is copy the steady case as a new unsteady case, and change corresponding parameters for unsteady calculations. In the controlDict file, I set it like this: ------------------ startFrom latestTime; startTime 0; stopAt endTime; endTime .5; deltaT 1e-4; ----------------------- When I run pimpleFoam, it says: ----------------------- Create time Create mesh for time = 10000 Reading field p Reading field U Reading/calculating face flux field phi AMI: Creating addressing and weights between 3724 source faces and 3724 target faces AMI: Patch source weights min/max/average = 1.00025, 1.00025, 1.00025 AMI: Patch target weights min/max/average = 1.00025, 1.00025, 1.00025 Selecting incompressible transport model Newtonian Selecting turbulence model type RASModel Selecting RAS turbulence model kOmegaSST kOmegaSSTCoeffs { alphaK1 0.85034; alphaK2 1; alphaOmega1 0.5; alphaOmega2 0.85616; gamma1 0.5532; gamma2 0.4403; beta1 0.075; beta2 0.0828; betaStar 0.09; a1 0.31; b1 1; c1 10; F3 false; } No finite volume options present PIMPLE: no residual control data found. Calculations will employ 2 corrector loops Starting time loop End ------------- No time loop happens, any guys have an idea??? Best regards, Ye |
|
February 27, 2014, 15:11 |
|
#2 |
Senior Member
|
Hi,
Code:
startFrom latestTime; startTime 0; stopAt endTime; endTime .5; Code:
Create time Create mesh for time = 10000 Why don't you use mapFields -sourceTime 10000 <steady-state-case-directory> for mapping steady state solution onto your transient simulation initial time? |
|
February 27, 2014, 19:14 |
|
#3 |
Member
Ye Zhang
Join Date: Dec 2009
Location: Delft,Netherland
Posts: 92
Rep Power: 17 |
I forgot to mention, that mapField does not work for me. It gives a lot warning and get stopped. I also have a thread about that.
|
|
February 27, 2014, 19:18 |
|
#4 |
Member
Ye Zhang
Join Date: Dec 2009
Location: Delft,Netherland
Posts: 92
Rep Power: 17 |
Dear Alexey
Thank you for you reply. I got my steady state solution for 10000 iterative steps. And I both tried to set 'startTime 10000 or startTime 0', 'endTime 10000.5 or 0.5', since I want to have 0.5s transient simulation, but they do give the same output as I list. The time loop just does not start. I do not know why... Best regards, Ye |
|
February 28, 2014, 02:24 |
|
#5 |
Senior Member
|
Hi,
by default mapFields uses Code:
meshToMesh::interpolationMethod mapMethod = meshToMesh::imCellVolumeWeight; Also if you just copy results from steady state solution, there should be uniform subfolder (i.e. 10000/uniform) where OF stores information on time and time step. Maybe if you delete this subfolder it will do the loop? |
|
February 28, 2014, 02:58 |
|
#6 | |
Senior Member
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 22 |
Quote:
$ mv 0 0.org $ cp -r ../steadyStateCase/0 . $ rm -r 0/uniform |
||
February 28, 2014, 05:15 |
|
#7 |
Member
Ye Zhang
Join Date: Dec 2009
Location: Delft,Netherland
Posts: 92
Rep Power: 17 |
Dear all,
After deleting the file 10000/unform, it works well. Thank you ! Ye |
|
February 28, 2014, 05:55 |
|
#8 |
Member
Ye Zhang
Join Date: Dec 2009
Location: Delft,Netherland
Posts: 92
Rep Power: 17 |
Dear Alexey,
I tried other mapping methods: mapNearest, interpolate and cellPointInterpolate. I always got the same warning. I did not find the direct method you mentioned. Probably this problem comes from the interface I have (Which I use cyclicAMI boudary condition)?? Best regards Ye |
|
August 20, 2015, 06:12 |
|
#9 |
New Member
Join Date: May 2015
Posts: 12
Rep Power: 11 |
Hi Ye and all,
I tried to the method you mentioned, and it works for serial running, but I can't run in parallel, the error: [dang-SVE14A2SGC:17212] [12] /opt/openfoam231/platforms/linux64GccDPOpt/lib/libfiniteVolume.so(_ZNK4Foam16cyclicAMIFvPatch11ma keWeightsERNS_5FieldIdEE+0x1d5) [0x7ff2692f1085] [dang-SVE14A2SGC:17212] [13] /opt/openfoam231/platforms/linux64GccDPOpt/lib/libfiniteVolume.so(_ZNK4Foam20surfaceInterpolation 11makeWeightsEv+0x27e) [0x7ff2697889ce] [dang-SVE14A2SGC:17212] [14] /opt/openfoam231/platforms/linux64GccDPOpt/lib/libfiniteVolume.so(_ZNK4Foam20surfaceInterpolation 7weightsEv+0x19) [0x7ff269788be9] [dang-SVE14A2SGC:17212] [15] pisoFoam() [0x41a35b] [dang-SVE14A2SGC:17212] [16] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7ff266f28a40] [dang-SVE14A2SGC:17212] [17] pisoFoam() [0x41c82b] [dang-SVE14A2SGC:17212] *** End of error message *** -------------------------------------------------------------------------- mpirun noticed that process rank 1 with PID 17210 on node dang-SVE14A2SGC exited on signal 8 (Floating point exception). -------------------------------------------------------------------------- How do you solve in parallel? Thanks a lot! Sophie |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Velocity blows up suddenly after 30,000+ iterations | lordvon | OpenFOAM Running, Solving & CFD | 15 | October 19, 2015 14:52 |
Simulation seems to converge but crashes suddenly | xxxx | OpenFOAM | 16 | September 12, 2014 09:07 |
How to write k and epsilon before the abnormal end | xiuying | OpenFOAM Running, Solving & CFD | 8 | August 27, 2013 16:33 |
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 | bookie56 | OpenFOAM Installation | 8 | August 13, 2011 05:03 |
Problems with simulating TurbFOAM | barath.ezhilan | OpenFOAM | 13 | July 16, 2009 06:55 |