CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Is it possible to patch an initial profile to a cell zone? (https://www.cfd-online.com/Forums/fluent/168259-possible-patch-initial-profile-cell-zone.html)

macfly March 18, 2016 10:21

Is it possible to patch an initial profile to a cell zone?
 
1 Attachment(s)
Here is my situation:

- I do a first run of a transient model.
- After the 1st run, I want to patch the final temperature of Zone 1 as the initial temperature of Zone 2 for the 2nd run.

Is it possible to do that? The mesh is identical is both zones.

LuckyTran March 18, 2016 10:36

Create a cell-zone profile or write the solution into an interpolate file. Then edit the x,y,z coordinates to match the cell zone 2 (using matlab or something). Then import and apply to zone 2.

Or translate the mesh & solution, then write the profile/interpolate file for zone 1, and then apply it to zone 2 on the original un-translated mesh.

Technically the mesh isn't identical because the x,y,z coordinates of each face are different, even if they are topologically equivalent.

macfly March 18, 2016 11:36

I tried the translate mesh method. It works fine for boundaries where the profile can be selected in the drop-down list of a boundary dialog box. My problem is for the cell zones, just clicking 'apply' for e.g. int_interior1 in the profiles dialog box does nothing, the profile temperature is not applied. After applying the cell zone profile, I iterate a very small time step, e.g. 1e-6 second, just to see if the temperature was updated when applying the profile, but no, it was not applied.

macfly March 18, 2016 21:57

Found a workaround. It works if I activate 'Fixed values' in the cell zone dialog box, select the zone profile, run a dummy simulation so that the profile is applied, then I can start a new transient run without initializing.

Yet another cumbersome workaround to achieve a simple task in Fluent.


All times are GMT -4. The time now is 06:42.