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

Changing inlet conditions without starting again

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   March 31, 2011, 09:31
Default Changing inlet conditions without starting again
  #1
New Member
 
Join Date: Mar 2011
Posts: 2
Rep Power: 0
Conflate is on a distinguished road
Hi,

I've ran a simulation for about 24 hours and I'd like to now change the inlet velocity slightly.

Is there a way to copy the internal fields from the old case but use the inlet conditions from "0" in the new case? It would speed up the convergence considerably.

I've tried using mapFields but it seems to always use the inlet velocity from the old case, and none of the pyFoam tools seem to be suitable.

In Ansys CFX I could tell the solver to initialize from a results file but it would take all the boundary conditions from the new case, that's exactly what I'm trying to do here.

Thanks,

Mitchell
Conflate is offline   Reply With Quote

Old   April 1, 2011, 03:02
Default
  #2
Senior Member
 
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,894
Rep Power: 26
alberto will become famous soon enoughalberto will become famous soon enough
Quote:
Originally Posted by Conflate View Post
Hi,

I've ran a simulation for about 24 hours and I'd like to now change the inlet velocity slightly.

Is there a way to copy the internal fields from the old case but use the inlet conditions from "0" in the new case? It would speed up the convergence considerably.

I've tried using mapFields but it seems to always use the inlet velocity from the old case, and none of the pyFoam tools seem to be suitable.
Boundary conditions are specified in the boundaryField dictionary also in the results of you run. If you saved in ASCII format, you can simply copy/paste the corresponding boundary condition.

Best,
__________________
Alberto Passalacqua

GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as live DVD/USB, hard drive image and virtual image.
OpenQBMM - An open-source implementation of quadrature-based moment methods
alberto is offline   Reply With Quote

Old   April 1, 2011, 07:29
Default
  #3
New Member
 
Join Date: Mar 2011
Posts: 2
Rep Power: 0
Conflate is on a distinguished road
Thanks a lot, I was also having problems opening the results files but I changed the output format to ascii in controlDict, ran a couple more iterations, and now I can change the boundaryFields like you suggested.

Cheers,

Mitchell
Conflate is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Velocity inlet boundary conditions abm FLUENT 16 October 18, 2014 08:52
How to set pulsating inlet boundary conditions with a very high frequency Ton CFX 10 March 22, 2012 17:57
ATTENTION! Reliability problems in CFX 5.7 Joseph CFX 14 April 20, 2010 15:45
inlet boundary conditions species transport richard FLUENT 2 August 20, 2008 07:25
what the result is negatif pressure at inlet chong chee nan FLUENT 0 December 29, 2001 06:13


All times are GMT -4. The time now is 18:37.